aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-04-16 11:04:03 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2018-04-16 11:04:03 +0200
commitfa87abe807530daeb46f6730d4231489a4e2782b (patch)
treee966a498fb099c5ff388e0adcbb062f9a25df4d0
parent058a153b6970660f3c284ac259986ae87507df9a (diff)
downloadbusybox-fa87abe807530daeb46f6730d4231489a4e2782b.tar.gz
build system: FEATURE_NSLOOKUP_BIG needs -lresolv
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--Makefile.flags4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.flags b/Makefile.flags
index f3c897b06..6f6142cc5 100644
--- a/Makefile.flags
+++ b/Makefile.flags
@@ -156,6 +156,10 @@ CPPFLAGS += $(SELINUX_CFLAGS)
LDLIBS += $(if $(SELINUX_LIBS),$(SELINUX_LIBS:-l%=%),$(SELINUX_PC_MODULES:lib%=%))
endif
+ifeq ($(CONFIG_FEATURE_NSLOOKUP_BIG),y)
+LDLIBS += resolv
+endif
+
ifeq ($(CONFIG_EFENCE),y)
LDLIBS += efence
endif