about summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2022-06-08 14:09:28 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2022-08-05 19:45:19 +0100
commita87b3fcbb33e59dd9dc00d1aff88c0d80352f488 (patch)
treea87870003845f386761e091b21c5e5b2ce393dab /Makerules
parent30719666f854d4c0c6b8b2430dd1dff78851d59f (diff)
downloadglibc-a87b3fcbb33e59dd9dc00d1aff88c0d80352f488.tar.gz
glibc-a87b3fcbb33e59dd9dc00d1aff88c0d80352f488.tar.xz
glibc-a87b3fcbb33e59dd9dc00d1aff88c0d80352f488.zip
Fix the symbolic link of multilib dirs
If dir contains several / then 'ln -s . $dir' does not link it to the
current directory. Use the existing rellns.sh script to compute the
correct relative path to .
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index d1e139d03c..591893c6a3 100644
--- a/Makerules
+++ b/Makerules
@@ -1002,7 +1002,7 @@ endef
 define make-link-multidir
 $(patsubst %/,cd %,$(objpfx)); \
   $(addprefix $(abspath $(..)scripts/mkinstalldirs) ,$(dir $(multidir))); \
-  $(LN_S) . $(multidir) 2> /dev/null; \
+  $(SHELL) $(abspath $(..)scripts/rellns-sh) . $(multidir) 2> /dev/null; \
   test -L $(multidir)
 endef
 else