Use "which" to find the location of the dummy "true" executable

On macOS, this is in /usr/bin instead of in /bin.
This commit is contained in:
Martin Storsjö committed 2018-04-27 09:29:17 +03:00
1 parent f018ca81fe
commit ef5cbfd947
1 file changed
+1 -1
+1 -1
View File
@@ -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