diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-06-08 14:09:28 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-08-05 19:45:19 +0100 |
commit | a87b3fcbb33e59dd9dc00d1aff88c0d80352f488 (patch) | |
tree | a87870003845f386761e091b21c5e5b2ce393dab /Makerules | |
parent | 30719666f854d4c0c6b8b2430dd1dff78851d59f (diff) | |
download | glibc-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-- | Makerules | 2 |
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 |