summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-04-09 23:46:21 +0800
committerruki <[email protected]>2025-04-09 23:46:21 +0800
commit95e69eeea88e1ff30f67ef94bab7ba1652b026a4 (patch)
treefb99cc0b145c303c21779d5537adda1d7999a66c
parent4109abcddf430a8fad253566b23db6f8c73b5366 (diff)
fix link jobs
-rw-r--r--xmake/modules/private/action/build/target.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/build/target.lua b/xmake/modules/private/action/build/target.lua
index 477dd3023..c302408ac 100644
--- a/xmake/modules/private/action/build/target.lua
+++ b/xmake/modules/private/action/build/target.lua
@@ -664,7 +664,7 @@ end
-- add link jobs for the given target
function add_linkjobs(jobgraph, target, opt)
- opt = opt or {}
+ opt = table.clone(opt or {})
opt.job_kind = "link"
local with_stages = opt.with_stages
local group, group_before, group_after