From ef5cbfd9474d7e0297ee89455841252a6bb19c61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Fri, 27 Apr 2018 09:29:17 +0300 Subject: [PATCH] Use "which" to find the location of the dummy "true" executable On macOS, this is in /usr/bin instead of in /bin. --- install-wrappers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-wrappers.sh b/install-wrappers.sh index 9e270d8..52edcaa 100755 --- a/install-wrappers.sh +++ b/install-wrappers.sh @@ -21,7 +21,7 @@ for arch in $ARCHS; do ln -sf llvm-$exec $arch-w64-mingw32-$exec done for exec in strip; do - ln -sf /bin/true $arch-w64-mingw32-$exec + ln -sf $(which true) $arch-w64-mingw32-$exec done for exec in ld objdump windres dlltool; do ln -sf $exec-wrapper.sh $arch-w64-mingw32-$exec