summaryrefslogtreecommitdiff
path: root/xmake/toolchains
diff options
context:
space:
mode:
authorSaikari <[email protected]>2025-10-04 23:09:26 +0300
committerGitHub <[email protected]>2025-10-04 23:09:26 +0300
commit4b643c4fa3792c834fe08d2e99104ea655b61584 (patch)
tree6f3b868645d3555cdf4bb50d901533d6b57b31b1 /xmake/toolchains
parentcb087738d9cc3caf04f619b2524d4a848daee387 (diff)
parent82f581a047820d7136b7bf6b6a969b4d3a96e497 (diff)
Merge branch 'xmake-io:dev' into fix-sizeof-wasm
Diffstat (limited to 'xmake/toolchains')
-rw-r--r--xmake/toolchains/mingw/check.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/xmake/toolchains/mingw/check.lua b/xmake/toolchains/mingw/check.lua
index fbb647661..030dc6dd4 100644
--- a/xmake/toolchains/mingw/check.lua
+++ b/xmake/toolchains/mingw/check.lua
@@ -35,7 +35,12 @@ function main(toolchain)
end
end
if not mingw then
- mingw = find_mingw(toolchain:config("mingw") or config.get("mingw"), {verbose = true, bindir = toolchain:bindir(), cross = toolchain:cross()})
+ mingw = find_mingw(toolchain:config("mingw") or config.get("mingw"), {
+ verbose = true,
+ bindir = toolchain:bindir(),
+ cross = toolchain:cross(),
+ msystem = toolchain:config("msystem"),
+ })
end
if mingw then
toolchain:config_set("mingw", mingw.sdkdir)