1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-17 18:35:20 +02:00

Fix compiler detection in buildbot

it was just half-broken before...
This commit is contained in:
sfan5
2021-11-07 17:50:57 +01:00
parent cbf658f83d
commit c510037e9a
2 changed files with 6 additions and 6 deletions

View File

@@ -25,10 +25,10 @@ command -v i686-w64-mingw32-gcc-posix >/dev/null &&
compiler=i686-w64-mingw32-gcc-posix
if [ -z "$compiler" ]; then
echo "Unable to determine which mingw32 compiler to use"
echo "Unable to determine which MinGW compiler to use"
exit 1
fi
toolchain_file=$dir/toolchain_${compiler%-gcc}.cmake
toolchain_file=$dir/toolchain_${compiler/-gcc/}.cmake
echo "Using $toolchain_file"
tmp=$(dirname "$(command -v $compiler)")/../i686-w64-mingw32/bin