|
@@ -603,6 +603,9 @@ is_host() {
|
|
|
|
|
|
# detect host architecture
|
|
# detect host architecture
|
|
os_arch=`uname -m | tr '[A-Z]' '[a-z]'`
|
|
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
|
|
if test_eq "${os_arch}" "i686"; then
|
|
os_arch="i386"
|
|
os_arch="i386"
|
|
fi
|
|
fi
|