aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 435f172..e26492e 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 42f06a6..d6d0a11 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 c1e84c5..70e058c 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