[git commit] build system: FEATURE_NSLOOKUP_BIG needs -lresolv

Denys Vlasenko vda.linux at googlemail.com
Mon Apr 16 09:04:03 UTC 2018


commit: https://git.busybox.net/busybox/commit/?id=fa87abe807530daeb46f6730d4231489a4e2782b
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 Makefile.flags | 4 ++++
 1 file changed, 4 insertions(+)

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


More information about the busybox-cvs mailing list