atftp: fix picking the right argz.h header file on eglibc
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32547 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f280771d97
commit
432fc2dac7
@ -39,7 +39,16 @@ define Package/atftpd
|
||||
endef
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
--disable-libwrap
|
||||
--disable-libwrap
|
||||
|
||||
ifdef CONFIG_USE_EGLIBC
|
||||
TARGET_CFLAGS += -DHAVE_ARGZ=1
|
||||
|
||||
define Build/Prepare
|
||||
$(Build/Prepare/Default)
|
||||
echo '#include_next <argz.h>' > $(PKG_BUILD_DIR)/argz.h
|
||||
endef
|
||||
endif
|
||||
|
||||
MAKE_FLAGS += \
|
||||
CFLAGS="$(TARGET_CFLAGS) -Wall -D_REENTRANT" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user