diff options
| -rw-r--r-- | xmake/modules/detect/sdks/find_mingw.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/sdks/find_mingw.lua b/xmake/modules/detect/sdks/find_mingw.lua index f6474536e..a8c22a9ee 100644 --- a/xmake/modules/detect/sdks/find_mingw.lua +++ b/xmake/modules/detect/sdks/find_mingw.lua @@ -38,7 +38,7 @@ function _find_mingwdir(sdkdir) -- attempt to find mingw directory from the qt sdk local qt = config.get("qt") - if not sdkdir or qt then + if not sdkdir and qt then sdkdir = find_path("bin", path.join(qt, "Tools", "mingw*_" .. (is_arch("x86_64") and "64" or "32"))) end |
