Fix new mingw detection
This commit is contained in:
parent
ed44958576
commit
4dda14f906
1 changed files with 4 additions and 4 deletions
|
|
@ -43,16 +43,16 @@ else
|
|||
if test x$zip = x; then
|
||||
zip=zip
|
||||
fi
|
||||
echo "Checking that mingw gcc is installed/available"
|
||||
if [[ `which i686-w64-mingw32-gcc` ]] ; then
|
||||
echo "Checking that mingw 32-bit gcc is installed/available"
|
||||
if test -n "`which i686-w64-mingw32-gcc`" ; then
|
||||
extraconfigureoptions="--host=i686-w64-mingw32"
|
||||
i686-w64-mingw32-gcc --version || exit 1
|
||||
i686-w64-mingw32-g++ --version || exit 1
|
||||
else [[ `which i586-mingw32msvc-gcc` ]] ; then
|
||||
elif test -n "`which i586-mingw32msvc-gcc`" ; then
|
||||
extraconfigureoptions="--host=i586-mingw32msvc --build=i686-linux"
|
||||
i586-mingw32msvc-gcc --version || exit 1
|
||||
i586-mingw32msvc-g++ --version || exit 1
|
||||
elif
|
||||
else
|
||||
echo "Could not detect mingw gcc - please install mingw-w64 package."
|
||||
exit 1;
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue