source: freewrt/package/libdnet/patches/libdnet-1.10-dnet_config.patch@ 428f140

freewrt_1_0 freewrt_2_0
Last change on this file since 428f140 was 475ad56, checked in by Waldemar Brodkorb <wbx@…>, 20 years ago

add OpenWrt trunk revision 3830.

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 599 bytes
RevLine 
[475ad56]1--- libdnet-1.10/dnet-config.in.orig 2001-10-19 03:29:00.000000000 +0200
2+++ libdnet-1.10/dnet-config.in 2005-09-20 09:32:53.000000000 +0200
3@@ -45,10 +45,18 @@
4 done
5
6 if test "$echo_cflags" = "yes"; then
7- echo -I@includedir@
8+ includes=
9+ if test "@includedir@" != "/usr/include" ; then
10+ includes=-I@includedir@
11+ fi
12+ echo $includes
13 fi
14
15 if test "$echo_libs" = "yes"; then
16- echo -L@libdir@ -ldnet @LIBS@
17+ libs=
18+ if test "@libdir@" != "/usr/lib" ; then
19+ libs=-I@libdir@
20+ fi
21+ echo $libs -ldnet @LIBS@
22 fi
23
Note: See TracBrowser for help on using the repository browser.