Support the mingw-w64 toolchain.
authorWerner Koch <wk@gnupg.org>
Thu, 19 Jan 2012 17:44:39 +0000 (18:44 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 19 Jan 2012 17:44:39 +0000 (18:44 +0100)
* autogen.sh (build-w32): Add i686-w64-mingw32 to the toolprefix.

autogen.sh

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