Makefile.flags: add resolv to LDLIBS for linux compilers too (not only gnu ones)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
9b2d766e0e
commit
8ed57db65b
@ -184,6 +184,9 @@ LDLIBS += $(if $(SELINUX_LIBS),$(SELINUX_LIBS:-l%=%),$(SELINUX_PC_MODULES:lib%=%
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_FEATURE_NSLOOKUP_BIG),y)
|
ifeq ($(CONFIG_FEATURE_NSLOOKUP_BIG),y)
|
||||||
|
ifneq (,$(findstring linux,$(shell $(CC) $(CFLAGS) -dumpmachine)))
|
||||||
|
LDLIBS += resolv
|
||||||
|
endif
|
||||||
ifneq (,$(findstring gnu,$(shell $(CC) $(CFLAGS) -dumpmachine)))
|
ifneq (,$(findstring gnu,$(shell $(CC) $(CFLAGS) -dumpmachine)))
|
||||||
LDLIBS += resolv
|
LDLIBS += resolv
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user