libs/libdnet: fix compile issues. (closes #8365)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24309 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
bff710311c
commit
c23d359694
@ -68,6 +68,17 @@ CONFIGURE_ARGS += \
|
|||||||
CONFIGURE_VARS += \
|
CONFIGURE_VARS += \
|
||||||
ac_cv_dnet_bsd_bpf=no
|
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
|
define Build/Compile
|
||||||
$(call Build/Compile/Default)
|
$(call Build/Compile/Default)
|
||||||
$(if $(CONFIG_PACKAGE_pydnet), \
|
$(if $(CONFIG_PACKAGE_pydnet), \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user