about summary refs log tree commit diff
path: root/nscd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nscd/Makefile')
-rw-r--r--nscd/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/nscd/Makefile b/nscd/Makefile
index 278bca6bbe..d915aa70f4 100644
--- a/nscd/Makefile
+++ b/nscd/Makefile
@@ -38,6 +38,11 @@ extra-objs := $(nscd-modules:=.o)
 
 endif
 
+ifeq (yes,$(build-static-nss))
+otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \
+	     $(resolvobjdir)/libresolv.a
+endif
+
 distribute := nscd.h nscd-client.h dbg_log.h \
 	      $(nscd-modules:=.c) TODO nscd.conf nscd.init \
 	      nscd_proto.h