summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-02-21 09:30:54 +0000
committerRoland McGrath <roland@gnu.org>2003-02-21 09:30:54 +0000
commit2afbfec4539e230be4256a852395eb0963ac7d5a (patch)
treecec025648604d8eacaf5d656fa00b7df20520d1d /Makerules
parent49dc759f94148d794f9698823a09a27526559e85 (diff)
downloadglibc-2afbfec4539e230be4256a852395eb0963ac7d5a.tar.gz
2003-02-21 Roland McGrath <roland@redhat.com>
* Makerules: Filter $(install-lib-ldscripts) out of list of targets for libfoo.so that need $(make-link) rules.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index 75dfd5a2bb..ef608c29ea 100644
--- 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.