aboutsummaryrefslogtreecommitdiff
path: root/pwd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pwd/Makefile')
-rw-r--r--pwd/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/pwd/Makefile b/pwd/Makefile
index af9485b1ae..0d0ed104a5 100644
--- a/pwd/Makefile
+++ b/pwd/Makefile
@@ -36,3 +36,8 @@ CFLAGS-getpwuid_r.c = -DUSE_NSCD=1
CFLAGS-getpwnam_r.c = -DUSE_NSCD=1
endif
+
+ifeq (yes,$(build-static-nss))
+otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \
+ $(resolvobjdir)/libresolv.a
+endif