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