diff options
| author | ruki <[email protected]> | 2020-03-15 17:01:42 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-03-15 17:01:42 +0800 |
| commit | b6bfa0946bc0dc9a705376ee32ae3b46f63b8098 (patch) | |
| tree | d03854fddb65b9bad40f21cb0cc7b413ca05c340 | |
| parent | dded30fe3f71b20b724dcad7830b7b971af51f0a (diff) | |
fix find_mingw
| -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 |
