Fix ghactions mingw-on-linux builds

mingw-on-windows builds still work fine, but the linux ones were actually using plain gcc targeting the host.
This commit is contained in:
Tamás Bálint Misius 2022-10-19 14:32:54 +02:00
parent 715333295b
commit b306c2c33c
No known key found for this signature in database
GPG Key ID: 5B472A12F6ECA9F2

2
.github/build.sh vendored
View File

@ -218,7 +218,7 @@ if [[ $RELEASE_TYPE != dev ]]; then
meson_configure+=$'\t'-Dignore_updates=false
fi
if [[ $BSH_HOST_PLATFORM-$BSH_HOST_LIBC == windows-mingw ]]; then
if [[ $BSH_HOST_PLATFORM == linux ]]; then
if [[ $BSH_BUILD_PLATFORM == linux ]]; then
meson_configure+=$'\t'--cross-file=.github/mingw-ghactions.ini
fi
else