summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-05-16 04:32:47 +0000
committerRoland McGrath <roland@gnu.org>1996-05-16 04:32:47 +0000
commit20c811896c49336ead3c35a4323d4e19a1dffdb1 (patch)
tree33740a6642a70f2355fbd1df8b3da1b9d51b7ab0 /Makerules
parent46d9215f3bda283a75f9a64f59bf5973245ec1ba (diff)
downloadglibc-20c811896c49336ead3c35a4323d4e19a1dffdb1.tar.gz
Thu May 16 00:31:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>cvs/libc-960520cvs/libc-960519cvs/libc-960518cvs/libc-960517cvs/libc-960516
* Makerules [versioned]: Make symlinks in the build directory, because the versioned names might be referenced by a DT_NEEDED in another library.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makerules b/Makerules
index c8a5c895f2..2ccfeae3fb 100644
--- a/Makerules
+++ b/Makerules
@@ -601,6 +601,15 @@ endef
object-suffixes-left := $(versioned)
include $(..)o-iterator.mk
+# Make symlinks in the build directory, because the versioned names might
+# be referenced by a DT_NEEDED in another library.
+define o-iterator-doit
+$(objpfx)$o$($o-version): $(objpfx)$o; $$(make-link)
+endef
+object-suffixes-left := $(versioned)
+include $(..)o-iterator.mk
+
+
define o-iterator-doit
$(libdir)/$o$($o-version): $(libdir)/$(o:.so=)-$(version).so; $$(make-link)
endef