summaryrefslogtreecommitdiff
path: root/xmake
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2025-10-24 19:47:06 +0200
committerArthur LAURENT <[email protected]>2025-10-24 19:47:06 +0200
commit5c1bb9431687dbcc3caeae94204475e23f98d148 (patch)
treecbe73831bf231ac6fea3427b7737c858b27cdae9 /xmake
parent072000e5d38b878e8ba929a232097d3267478acb (diff)
nfc(swift) add a test
Diffstat (limited to 'xmake')
-rw-r--r--xmake/rules/swift/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/swift/xmake.lua b/xmake/rules/swift/xmake.lua
index 8bb168679..25ac86891 100644
--- a/xmake/rules/swift/xmake.lua
+++ b/xmake/rules/swift/xmake.lua
@@ -181,7 +181,7 @@ rule("swift.build")
set_sourcekinds("sc")
on_build_files("private.action.build.object", {jobgraph = true, batch = true})
on_config(function (target)
- if target:is_library() or target:values("swift.interop") then
+ if target:is_library() then
target:add("scflags", "-parse-as-library")
end