Support the mingw-w64 toolchain.

* autogen.sh (build-w32): Add i686-w64-mingw32 to the toolprefix.
This commit is contained in:
Werner Koch 2012-01-19 18:44:39 +01:00
parent 2f304957f5
commit 24a10a4af9

View File

@ -102,11 +102,11 @@ if [ "$myhost" = "w32" ]; then
64) 64)
w32root="$w64root" w32root="$w64root"
[ -z "$w32root" ] && w32root="$HOME/w64root" [ -z "$w32root" ] && w32root="$HOME/w64root"
toolprefixes="amd64-mingw32msvc" toolprefixes="i686-w64-mingw32 amd64-mingw32msvc"
;; ;;
*) *)
[ -z "$w32root" ] && w32root="$HOME/w32root" [ -z "$w32root" ] && w32root="$HOME/w32root"
toolprefixes="i586-mingw32msvc i386-mingw32msvc" toolprefixes="i686-w64-mingw32 i586-mingw32msvc i386-mingw32msvc"
;; ;;
esac esac
echo "Using $w32root as standard install directory" >&2 echo "Using $w32root as standard install directory" >&2