From: Roland McGrath Date: Thu, 16 May 1996 04:32:47 +0000 (+0000) Subject: Thu May 16 00:31:44 1996 Roland McGrath X-Git-Tag: upstream/2.20~22493 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=20c811896c49336ead3c35a4323d4e19a1dffdb1;p=platform%2Fupstream%2Flinaro-glibc.git Thu May 16 00:31:44 1996 Roland McGrath * Makerules [versioned]: Make symlinks in the build directory, because the versioned names might be referenced by a DT_NEEDED in another library. --- diff --git a/ChangeLog b/ChangeLog index d053faf..d3d8abc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Thu May 16 00:31:44 1996 Roland McGrath + + * Makerules [versioned]: Make symlinks in the build directory, because + the versioned names might be referenced by a DT_NEEDED in another + library. + Wed May 15 18:59:38 1996 Roland McGrath * manual/examples/longopt.c: Include stdlib.h and getopt.h. diff --git a/Makerules b/Makerules index c8a5c89..2ccfeae 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