--- Makefile.flags.orig 2021-01-03 14:40:37 UTC +++ Makefile.flags @@ -180,7 +180,9 @@ LDLIBS += $(if $(SELINUX_LIBS),$(SELINUX_LIBS:-l%=%),$ endif ifeq ($(CONFIG_FEATURE_NSLOOKUP_BIG),y) +ifeq ($(CONFIG_UNAME_OSNAME),Linux) LDLIBS += resolv +endif endif ifeq ($(CONFIG_EFENCE),y)