build system: FEATURE_NSLOOKUP_BIG needs -lresolv
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 16 Apr 2018 09:04:03 +0000 (11:04 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 16 Apr 2018 09:04:03 +0000 (11:04 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Makefile.flags

index f3c897b0687f035f2649a292b68f888afcbc7f43..6f6142cc5d39ae8d95c34734d2a4cc5e14aaa3ee 100644 (file)
@@ -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