projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
334a7e0
)
libs/libdnet: fix compile issues. (closes #8365)
author
Alexandros C. Couloumbis
<
[email protected]
>
Tue, 7 Dec 2010 17:22:16 +0000
(17:22 +0000)
committer
Alexandros C. Couloumbis
<
[email protected]
>
Tue, 7 Dec 2010 17:22:16 +0000
(17:22 +0000)
SVN-Revision: 24309
libs/libdnet/Makefile
patch
|
blob
|
history
diff --git
a/libs/libdnet/Makefile
b/libs/libdnet/Makefile
index 44bd21d7e8115fe908415e4e92e0fadfed458abf..54e25c49316d2aac65906ec2334d965fc464948f 100644
(file)
--- a/
libs/libdnet/Makefile
+++ b/
libs/libdnet/Makefile
@@
-68,6
+68,17
@@
CONFIGURE_ARGS += \
CONFIGURE_VARS += \
ac_cv_dnet_bsd_bpf=no
+MAKE_FLAGS += \
+ CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE"
+
+define Build/Configure
+ (cd $(PKG_BUILD_DIR); \
+ ln -sf config/acinclude.m4 . ; \
+ autoreconf -v --install || exit 1 \
+ );
+ $(call Build/Configure/Default)
+endef
+
define Build/Compile
$(call Build/Compile/Default)
$(if $(CONFIG_PACKAGE_pydnet), \