about summary refs log tree commit diff
path: root/resolv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/Makefile')
-rw-r--r--resolv/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/resolv/Makefile b/resolv/Makefile
index 4d11b4d366..f48f841b9a 100644
--- a/resolv/Makefile
+++ b/resolv/Makefile
@@ -39,7 +39,9 @@ vpath %.c nss_dns
 
 libnss_dns-routines	:= dns-host dns-network
 libnss_dns-map		:= libnss_dns.map
+ifneq ($(build-static-nss),yes)
 libnss_dns-inhibit-o	= $(filter-out .so,$(object-suffixes))
+endif
 
 include ../Rules