tcp_wrappers: don't set LIBS=-lnsl when building with musl

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle
2015-04-25 23:19:30 +02:00
parent 142a24a10b
commit 544486252c
2 changed files with 27 additions and 1 deletions
+5 -1
View File
@@ -32,11 +32,15 @@ endef
TARGET_CFLAGS += $(FPIC)
ifeq ($(CONFIG_USE_MUSL),)
TARGET_EXTRA_LIBS:=LIBS=-lnsl
endif
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
OPT_CFLAGS="$(TARGET_CFLAGS)" \
LIBS=-lnsl \
$(TARGET_EXTRA_LIBS) \
NETGROUP= \
VSYSLOG= \
BUGS= \