mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Buildbot: Use posix on Win64 builds if available (#11355)
Use posix mingw-w64 toolchain on Win64 builds where applicable, avoids many build errors when using buildwin64.sh to build 64 bit builds on Ubuntu based Linux distributions
This commit is contained in:
parent
a8b7c8ff38
commit
cec0dfcbbd
2 changed files with 31 additions and 1 deletions
|
@ -18,7 +18,18 @@ mkdir -p $builddir
|
|||
builddir="$( cd "$builddir" && pwd )"
|
||||
libdir=$builddir/libs
|
||||
|
||||
toolchain_file=$dir/toolchain_x86_64-w64-mingw32.cmake
|
||||
# Test which win64 compiler is present
|
||||
which x86_64-w64-mingw32-gcc &>/dev/null &&
|
||||
toolchain_file=$dir/toolchain_x86_64-w64-mingw32.cmake
|
||||
which x86_64-w64-mingw32-gcc-posix &>/dev/null &&
|
||||
toolchain_file=$dir/toolchain_x86_64-w64-mingw32-posix.cmake
|
||||
|
||||
if [ -z "$toolchain_file" ]; then
|
||||
echo "Unable to determine which mingw32 compiler to use"
|
||||
exit 1
|
||||
fi
|
||||
echo "Using $toolchain_file"
|
||||
|
||||
irrlicht_version=1.9.0mt1
|
||||
ogg_version=1.3.4
|
||||
vorbis_version=1.3.7
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue