(otherlibs): If static NSS is in use, set to the required libraries.
authordrepper <drepper>
Mon, 19 Oct 1998 15:21:08 +0000 (15:21 +0000)
committerdrepper <drepper>
Mon, 19 Oct 1998 15:21:08 +0000 (15:21 +0000)
nscd/Makefile

index 278bca6..d915aa7 100644 (file)
@@ -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