From 8e455298aa44fff5fcf6cfae9d13c694d6cc2db0 Mon Sep 17 00:00:00 2001 From: "Alexandros C. Couloumbis" Date: Tue, 7 Dec 2010 17:22:16 +0000 Subject: [PATCH] libs/libdnet: fix compile issues. (closes #8365) SVN-Revision: 24309 --- libs/libdnet/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) 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), \ -- 2.30.2