diff options
-rw-r--r-- | Makefile.flags | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.flags b/Makefile.flags index 50137a78e..1cec5ba20 100644 --- a/Makefile.flags +++ b/Makefile.flags | |||
@@ -184,6 +184,9 @@ LDLIBS += $(if $(SELINUX_LIBS),$(SELINUX_LIBS:-l%=%),$(SELINUX_PC_MODULES:lib%=% | |||
184 | endif | 184 | endif |
185 | 185 | ||
186 | ifeq ($(CONFIG_FEATURE_NSLOOKUP_BIG),y) | 186 | ifeq ($(CONFIG_FEATURE_NSLOOKUP_BIG),y) |
187 | ifneq (,$(findstring linux,$(shell $(CC) $(CFLAGS) -dumpmachine))) | ||
188 | LDLIBS += resolv | ||
189 | endif | ||
187 | ifneq (,$(findstring gnu,$(shell $(CC) $(CFLAGS) -dumpmachine))) | 190 | ifneq (,$(findstring gnu,$(shell $(CC) $(CFLAGS) -dumpmachine))) |
188 | LDLIBS += resolv | 191 | LDLIBS += resolv |
189 | endif | 192 | endif |