2003-02-21 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Fri, 21 Feb 2003 09:30:54 +0000 (09:30 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 21 Feb 2003 09:30:54 +0000 (09:30 +0000)
* Makerules: Filter $(install-lib-ldscripts) out of list of targets
for libfoo.so that need $(make-link) rules.

Makerules

index 75dfd5a..ef608c2 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -977,8 +977,10 @@ ifneq (,$(versioned))
 define o-iterator-doit
 $(inst_libdir)/$o: $(inst_slibdir)/$o$($o-version) $(+force); $$(make-link)
 endef
-object-suffixes-left := $(versioned)
+object-suffixes-left := $(filter-out $(install-lib-ldscripts),$(versioned))
+ifneq (,$(object-suffixes-left))
 include $(o-iterator)
+endif
 
 # Make symlinks in the build directory, because the versioned names might
 # be referenced by a DT_NEEDED in another library.