summaryrefslogtreecommitdiff
path: root/xmake/rules
diff options
context:
space:
mode:
authorruki <[email protected]>2025-02-20 23:10:02 +0800
committerruki <[email protected]>2025-02-20 23:10:02 +0800
commita42e27ecfc8305feb9c9db0ed7cb4dcba349fe85 (patch)
treebd430d44393aaa733667d68847025e07a8c27c03 /xmake/rules
parentbe38e81e4304b7c1fcfad49662a8f27416627367 (diff)
improve rule
Diffstat (limited to 'xmake/rules')
-rw-r--r--xmake/rules/kotlin-native/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/kotlin-native/xmake.lua b/xmake/rules/kotlin-native/xmake.lua
index 909bd4a9e..386c85677 100644
--- a/xmake/rules/kotlin-native/xmake.lua
+++ b/xmake/rules/kotlin-native/xmake.lua
@@ -27,7 +27,7 @@ rule("kotlin-native.build")
target:add("kcflags", "-opt-in=kotlin.experimental.ExperimentalNativeApi", {force = true})
if target:is_plat("macosx") then
target:add("frameworks", "Foundation", "CoreFoundation", {interface = true})
- elseif target:is_plat("windows", "mingw") then
+ elseif target:is_plat("mingw") then
target:add("syslinks", "pthread", {interface = true})
end
elseif target:is_shared() then