ruki 2 年 前
コミット
0f65c61d6d
1 ファイル変更3 行追加0 行削除
  1. 3 0
      configure

+ 3 - 0
configure

@@ -603,6 +603,9 @@ is_host() {
 
 # detect host architecture
 os_arch=`uname -m | tr '[A-Z]' '[a-z]'`
+if is_host "msys" && test_nz "${MSYSTEM_CARCH}"; then
+    os_arch="${MSYSTEM_CARCH}"
+fi
 if test_eq "${os_arch}" "i686"; then
     os_arch="i386"
 fi