From: Szabolcs Nagy Date: Wed, 8 Jun 2022 13:09:28 +0000 (+0100) Subject: Fix the symbolic link of multilib dirs X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c91d717c9fd2f3130100d69cd1fba73c5c7008b;p=thirdparty%2Fglibc.git 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 . --- diff --git a/Makerules b/Makerules index d1e139d03c1..591893c6a3d 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