summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2018-04-23 22:57:59 +0800
committerruki <[email protected]>2018-04-23 11:47:58 +0800
commit2292e7c370a929a8c46f4d803ed13bf66844c064 (patch)
tree430d4e6f1dc4584ab22965ff26bcafcd4795a90c
parent3d25b1288fa2718bc566a90bbd2fba9447e88958 (diff)
fix mingw arch for qt
-rw-r--r--xmake/modules/detect/sdks/find_qt.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/sdks/find_qt.lua b/xmake/modules/detect/sdks/find_qt.lua
index 28a517444..8c4b02ee0 100644
--- a/xmake/modules/detect/sdks/find_qt.lua
+++ b/xmake/modules/detect/sdks/find_qt.lua
@@ -49,7 +49,7 @@ function _find_sdkdir(sdkdir, sdkver)
targetdir = is_arch("x64") and "msvc*_64" or "msvc*_32"
end
elseif is_plat("mingw") then
- targetdir = is_arch("x64") and "mingw*_64" or "mingw*_32"
+ targetdir = is_arch("x86_64") and "mingw*_64" or "mingw*_32"
elseif is_plat("android") then
targetdir = "android_*" -- TODO android_armv7 and ..?
end