aboutsummaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2013-03-18 12:44:47 +0100
committerAndreas Schwab <schwab@suse.de>2013-03-19 12:07:26 +0100
commitaaa8cb4b43511c62b11ac6f10e9beea3d5035a68 (patch)
tree19ca0e195c46f07ba377a8fc79d19048a75cd61e /Makerules
parent5cebee5db0e891a91d947ef6015f1425fd2fd658 (diff)
downloadglibc-aaa8cb4b43511c62b11ac6f10e9beea3d5035a68.tar
glibc-aaa8cb4b43511c62b11ac6f10e9beea3d5035a68.tar.gz
glibc-aaa8cb4b43511c62b11ac6f10e9beea3d5035a68.tar.bz2
glibc-aaa8cb4b43511c62b11ac6f10e9beea3d5035a68.zip
Add support for rtld directory different from slib directory
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makerules b/Makerules
index b115f1a92c..5ba670c1cc 100644
--- a/Makerules
+++ b/Makerules
@@ -864,7 +864,7 @@ ifeq (no,$(cross-compiling))
symbolic-link-prog := $(common-objpfx)elf/sln
symbolic-link-list := $(common-objpfx)elf/symlink.list
define make-shlib-link
-echo $(<F) $@ >> $(symbolic-link-list)
+echo `$(..)scripts/rellns-sh -p $< $@` $@ >> $(symbolic-link-list)
endef
else # cross-compiling
# We need a definition that can be used by elf/Makefile's install rules.
@@ -874,7 +874,7 @@ endif
ifndef make-shlib-link
define make-shlib-link
rm -f $@
-$(LN_S) $(<F) $@
+$(LN_S) `$(..)scripts/rellns-sh -p $< $@` $@
endef
endif