summaryrefslogtreecommitdiff
path: root/xmake/toolchains
diff options
context:
space:
mode:
authorruki <[email protected]>2025-10-04 23:53:49 +0800
committerGitHub <[email protected]>2025-10-04 23:53:49 +0800
commit82f581a047820d7136b7bf6b6a969b4d3a96e497 (patch)
treed3e928419f7d2a9b1d7ed691b3d0311d7dc4e45d /xmake/toolchains
parent09cf7e0e4d59fad0ab52f438ff1b4d242af0df24 (diff)
parent3ef0e493b6202539879289f7b51180177b7134cc (diff)
Merge pull request #6884 from star-hengxing/msys2
Add msystem support on msys2
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)