From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1944) id B60C43851526; Thu, 27 Oct 2022 13:49:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B60C43851526 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666878570; bh=AYgPLM1T6em6/+H+HR+uwO72ww/CdMQHsD2jLgW3WOY=; h=From:To:Subject:Date:From; b=g6bo81IRNgRvy54lSYlmSOzpi3AOIMlefdIy9dGNQmDaGe3N2b7OZ5dQFpGeQ5bCK zGpoOsuoPCD3FVSBpCuLszpQiAgN4U0OVVotJkzHiFJ1Rp1exYhZ238f1cfzsxn3ZH S0cu3LzudPRy4HCtFleS/wLjvZXiTAY6T98L5CVU= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Szabolcs Nagy To: glibc-cvs@sourceware.org Subject: [glibc/arm/morello/main] Fix the symbolic link of multilib dirs X-Act-Checkin: glibc X-Git-Author: Szabolcs Nagy X-Git-Refname: refs/heads/arm/morello/main X-Git-Oldrev: 4197d863dee1894831759bc8c4543f0f05d26fd9 X-Git-Newrev: 2c91d717c9fd2f3130100d69cd1fba73c5c7008b Message-Id: <20221027134930.B60C43851526@sourceware.org> Date: Thu, 27 Oct 2022 13:49:30 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2c91d717c9fd2f3130100d69cd1fba73c5c7008b commit 2c91d717c9fd2f3130100d69cd1fba73c5c7008b Author: Szabolcs Nagy Date: Wed Jun 8 14:09:28 2022 +0100 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: --- Makerules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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