From a42e27ecfc8305feb9c9db0ed7cb4dcba349fe85 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 20 Feb 2025 23:10:02 +0800 Subject: improve rule --- xmake/rules/kotlin-native/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1