Keep clang.exe around if we won't be replacing it with an unprefixed wrapper
This commit is contained in:
1 parent
e45e9ab98e
commit
32668f336b
1 file changed
+3
-2
+3
-2
@@ -70,7 +70,9 @@ if [ -n "$EXEEXT" ]; then
|
||||
if [ ! -L clang$EXEEXT ]; then
|
||||
mv clang$EXEEXT clang-$CLANG_MAJOR$EXEEXT
|
||||
fi
|
||||
if [ -n "$HOST" ]; then
|
||||
if [ -z "$HOST" ]; then
|
||||
HOST=$(./clang-$CLANG_MAJOR -dumpmachine | sed 's/-.*//')-w64-mingw32
|
||||
fi
|
||||
for exec in clang clang++ gcc g++ cc c99 c11 c++ ar ranlib nm strings widl windres; do
|
||||
ln -sf $HOST-$exec$EXEEXT $exec$EXEEXT
|
||||
done
|
||||
@@ -78,4 +80,3 @@ if [ -n "$EXEEXT" ]; then
|
||||
ln -sf $HOST-$exec $exec
|
||||
done
|
||||
fi
|
||||
fi
|
||||
Reference in new issue
Block a user