summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2012-11-05 19:21:51 +0100
committerWerner Koch <wk@gnupg.org>2013-03-20 16:00:01 +0100
commitb402e550041782b770a6ae267c7c28ca8324a12e (patch)
tree6f4612c9deadd35c6e4488b163bee66ca0442170 /autogen.sh
parent1eaad0a8c4cab227685a6a8768e539df2f1f4dac (diff)
downloadlibgcrypt-b402e550041782b770a6ae267c7c28ca8324a12e.tar.gz
Allow building with w64-mingw32
* autogen.sh <--build-w32>: Support the w64-mingw32 toolchain. Also prepare for 64 bit building. -- NB: Despite of this change in autogen.sh, there is no support for 64 bit Windows yet. The change has only be done to eventually allow to work on a W64 version.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh
index a0bbd6bb..841c2c2d 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -102,12 +102,12 @@ if [ "$myhost" = "w32" ]; then
64)
w32root="$w64root"
[ -z "$w32root" ] && w32root="$HOME/w64root"
- toolprefixes="amd64-mingw32msvc"
+ toolprefixes="$amd64_toolprefixes amd64-mingw32msvc"
;;
*)
[ -z "$w32root" ] && w32root="$HOME/w32root"
- toolprefixes="i586-mingw32msvc i386-mingw32msvc"
- toolprefixes="i586-mingw32msvc i386-mingw32msvc i686-w64-mingw32"
+ toolprefixes="$w32_toolprefixes i686-w64-mingw32 i586-mingw32msvc"
+ toolprefixes="$toolprefixes i386-mingw32msvc mingw32"
;;
esac
echo "Using $w32root as standard install directory" >&2