aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.flags2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.flags b/Makefile.flags
index 6ff4d7239..5673bc48a 100644
--- a/Makefile.flags
+++ b/Makefile.flags
@@ -181,8 +181,10 @@ LDLIBS += $(if $(SELINUX_LIBS),$(SELINUX_LIBS:-l%=%),$(SELINUX_PC_MODULES:lib%=%
endif
ifeq ($(CONFIG_FEATURE_NSLOOKUP_BIG),y)
+ifeq ($(CONFIG_UNAME_OSNAME),Linux)
LDLIBS += resolv
endif
+endif
ifeq ($(CONFIG_EFENCE),y)
LDLIBS += efence