nslookup uses symbols from libresolv, no matter it is
on linux or not. This also eliminates hackish way to
detect linux.
---
 Makefile.flags | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Makefile.flags b/Makefile.flags
index 84cb00a75..be0a3c4bb 100644
--- a/Makefile.flags
+++ b/Makefile.flags
@@ -184,10 +184,8 @@ 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
-endif
 
 ifeq ($(CONFIG_EFENCE),y)
 LDLIBS += efence
-- 
2.30.2

_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to