ksymoops: remove package, it has been obsolete and useless for a long time
[openwrt.org/packages.git] / libs / 001-dnet_config.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/dnet-config.in
+++ b/dnet-config.in
@@ -45,10 +45,18 @@ while test $# -gt 0; do
 done
 
 if test "$echo_cflags" = "yes"; then
-      echo -I@includedir@
+      includes=
+      if test "@includedir@" != "/usr/include" ; then
+             includes=-I@includedir@
+      fi
+      echo $includes
 fi
 
 if test "$echo_libs" = "yes"; then
-      echo -L@libdir@ -ldnet @LIBS@
+      libs=
+      if test "@libdir@" != "/usr/lib" ; then
+             libs=-I@libdir@
+      fi
+      echo $libs -ldnet @LIBS@
 fi      
 
 
comments