about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-04-18 16:06:52 +0000
committerAndreas Jaeger <aj@suse.de>2001-04-18 16:06:52 +0000
commit80ff3e345431e406d5090f5d77c77d285a8f03e2 (patch)
treef95cf1c128ad4725238056e1b1ad76df22a9f595
parent2f53aec963a74eb106eb1940482145863a1f6861 (diff)
downloadglibc-80ff3e345431e406d5090f5d77c77d285a8f03e2.tar.gz
glibc-80ff3e345431e406d5090f5d77c77d285a8f03e2.tar.xz
glibc-80ff3e345431e406d5090f5d77c77d285a8f03e2.zip
(otherlibs): Added.
2001-04-18  Andreas Jaeger  <aj@suse.de>

	* Makefile (otherlibs): Added.
-rw-r--r--linuxthreads/ChangeLog4
-rw-r--r--linuxthreads/Makefile5
-rw-r--r--rt/Makefile5
3 files changed, 14 insertions, 0 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 435f172957..e26492e7dd 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,7 @@
+2001-04-18  Andreas Jaeger  <aj@suse.de>
+
+	* Makefile (otherlibs): Added.
+
 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
 
 	* sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: New file.
diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile
index 42f06a6645..d6d0a118d6 100644
--- a/linuxthreads/Makefile
+++ b/linuxthreads/Makefile
@@ -120,3 +120,8 @@ $(objpfx)crti.o: $(objpfx)crti.S $(objpfx)defs.h
 
 generated += crti.S defs.h pt-initfini.s
 endif
+
+ifeq (yes,$(build-static-nss))
+otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \
+             $(resolvobjdir)/libresolv.a
+endif
diff --git a/rt/Makefile b/rt/Makefile
index c1e84c5270..70e058c544 100644
--- a/rt/Makefile
+++ b/rt/Makefile
@@ -64,3 +64,8 @@ endif
 ifeq (yes,$(build-bounded))
 $(tests:%=$(objpfx)%-bp): $(objpfx)librt_b.a $(bounded-thread-library)
 endif
+
+ifeq (yes,$(build-static-nss))
+otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \
+             $(resolvobjdir)/libresolv.a
+endif