about summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog4
-rw-r--r--linuxthreads/Makefile3
2 files changed, 6 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 5fe8ced1de..f4e37b4649 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,7 @@
+2001-03-18  Ulrich Drepper  <drepper@redhat.com>
+
+	* Makefile: When generating DSO link with libc_nonshared.a.
+
 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
 
 	* signals.c (pthread_sighandler): Use CALL_SIGHANDLER.
diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile
index a3bd5d16ae..d88af80f5a 100644
--- a/linuxthreads/Makefile
+++ b/linuxthreads/Makefile
@@ -76,7 +76,8 @@ CFLAGS-unload.c += -DPREFIX=\"$(objpfx)\"
 # Depend on libc.so so a DT_NEEDED is generated in the shared objects.
 # This ensures they will load libc.so for needed symbols if loaded by
 # a statically-linked program that hasn't already loaded it.
-$(objpfx)libpthread.so: $(common-objpfx)libc.so
+$(objpfx)libpthread.so: $(common-objpfx)libc.so \
+			$(common-objpfx)libc_nonshared.a
 
 # Make sure we link with the thread library.
 ifeq ($(build-shared),yes)