summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 4e9f253847..2e0662a781 100644
--- a/configure.in
+++ b/configure.in
@@ -38,7 +38,7 @@ test "$rb_cv_mingw32" = yes && target_os="mingw32"
AS_CASE(["$target_os"], [mingw*msvc], [
target_os="`echo ${target_os} | sed 's/msvc$//'`"
])
-AS_CASE(["$target_cpu"], [x86_64], [
+AS_CASE(["$target_cpu-$target_os"], [x86_64-mingw*], [
# canonicalize as like mswin version. see win32/setup.mak.
target_cpu=x64
target_os="`echo ${target_os} | sed 's/32$/64/'`"