about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-05-29 05:09:31 +0000
committerRoland McGrath <roland@gnu.org>1996-05-29 05:09:31 +0000
commitd06b536dc10bd096d7141fc058399e83275c8e3b (patch)
tree856c744af0da98f208027a1512fd85ba616197df
parent0200214b288810fc261b0b65c32f7068fcfa9b40 (diff)
downloadglibc-d06b536dc10bd096d7141fc058399e83275c8e3b.tar.gz
glibc-d06b536dc10bd096d7141fc058399e83275c8e3b.tar.xz
glibc-d06b536dc10bd096d7141fc058399e83275c8e3b.zip
Wed May 29 00:52:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
	* extra-lib.mk (alltypes-$(lib)): Don't append $(objpfx)$(lib).so.
	(others): Instead, make this depend on it.
-rw-r--r--ChangeLog5
-rw-r--r--extra-lib.mk10
2 files changed, 12 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 23c069582a..fcdf91c294 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed May 29 00:52:20 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
+
+	* extra-lib.mk (alltypes-$(lib)): Don't append $(objpfx)$(lib).so.
+	(others): Instead, make this depend on it.
+
 Tue May 28 04:38:10 1996  Ulrich Drepper  <drepper@cygnus.com>
 
 	* limits.h: Change MB_LEN_MAX to 6.  A 31-bit ISO 10646
diff --git a/extra-lib.mk b/extra-lib.mk
index ea5812ca65..99fce5b110 100644
--- a/extra-lib.mk
+++ b/extra-lib.mk
@@ -23,9 +23,6 @@ extra-objs += $(foreach o,$(object-suffixes-$(lib)),$($(lib)-routines:=$o))
 alltypes-$(lib) := $(foreach o,$(object-suffixes-$(lib)),\
 			     $(objpfx)$(patsubst %,$(libtype$o),\
 			     $(lib:lib%=%)))
-ifneq (,$(filter .so,$(object-suffixes-$(lib))))
-alltypes-$(lib) += $(objpfx)$(lib).so
-endif
 
 ifeq (,$($(lib)-no-lib-dep))
 lib-noranlib: $(alltypes-$(lib))
@@ -33,6 +30,13 @@ else
 others: $(alltypes-$(lib))
 endif
 
+# The linked shared library is never a dependent of lib-noranlib,
+# because linking it will depend on libc.so already being built.
+ifneq (,$(filter .so,$(object-suffixes-$(lib))))
+others: $(objpfx)$(lib).so
+endif
+
+
 # Use o-iterator.mk to generate a rule for each flavor of library.
 define o-iterator-doit
 $(objpfx)$(patsubst %,$(libtype$o),$(lib:lib%=%)): \