mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
libdnet: initial import from old-packages
Signed-off-by: Luka Perkov <luka@openwrt.org>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
--- 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
|
||||
|
||||
Reference in New Issue
Block a user