aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2013-06-17 14:01:19 +0000
committerWerner Koch <[email protected]>2013-06-17 14:01:19 +0000
commit1ca9b0dec0bfee560ce43d9dac6a26557ebe67a1 (patch)
treee128ad69ed73fe42c6a6b8763d49d0c874aec9f1
parentw32: Fix installing of .def file. (diff)
downloadlibgpg-error-1ca9b0dec0bfee560ce43d9dac6a26557ebe67a1.tar.gz
libgpg-error-1ca9b0dec0bfee560ce43d9dac6a26557ebe67a1.zip
Support building for w64.
-rwxr-xr-xautogen.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 97a3ccc..8256fd2 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -40,12 +40,15 @@ w32_toolprefixes=
w32_extraoptions=
w32ce_toolprefixes=
w32ce_extraoptions=
+w64_toolprefixes=
+w64_extraoptions=
amd64_toolprefixes=
# End list of optional variables sourced from ~/.gnupg-autogen.rc
# What follows are variables which are sourced but default to
# environment variables or lacking them hardcoded values.
#w32root=
#w32ce_root=
+#w64root=
#amd64root=
if [ -f "$HOME/.gnupg-autogen.rc" ]; then
@@ -99,7 +102,7 @@ if [ "$myhost" = "w32" ]; then
64)
w32root="$w64root"
[ -z "$w32root" ] && w32root="$HOME/w64root"
- toolprefixes="$amd64_toolprefixes amd64-mingw32msvc"
+ toolprefixes="$w64_toolprefixes x86_64-w64-mingw32"
;;
*)
[ -z "$w32root" ] && w32root="$HOME/w32root"