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:
1 parent
f018ca81fe
commit
ef5cbfd947
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user