From: Alexandros C. Couloumbis Date: Tue, 7 Dec 2010 17:22:16 +0000 (+0000) Subject: libs/libdnet: fix compile issues. (closes #8365) X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=8e455298aa44fff5fcf6cfae9d13c694d6cc2db0;p=openwrt%2Fsvn-archive%2Farchive.git libs/libdnet: fix compile issues. (closes #8365) SVN-Revision: 24309 --- diff --git a/libs/libdnet/Makefile b/libs/libdnet/Makefile index 44bd21d7e8..54e25c4931 100644 --- 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), \