diff options
| author | Arthur LAURENT <[email protected]> | 2025-10-24 19:47:06 +0200 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2025-10-24 19:47:06 +0200 |
| commit | 5c1bb9431687dbcc3caeae94204475e23f98d148 (patch) | |
| tree | cbe73831bf231ac6fea3427b7737c858b27cdae9 /xmake | |
| parent | 072000e5d38b878e8ba929a232097d3267478acb (diff) | |
nfc(swift) add a test
Diffstat (limited to 'xmake')
| -rw-r--r-- | xmake/rules/swift/xmake.lua | 2 |
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 |
