diff options
| author | ruki <[email protected]> | 2025-08-02 19:27:36 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-08-02 19:27:36 +0800 |
| commit | 2e514eefd117714d99642e76ed0cedc2ea65c0a2 (patch) | |
| tree | bcb8070e05ded03f3fd45937be3155e8b6eedeac /xmake/modules | |
| parent | d557f7bac7d328917c8af6a4e05dd8a01403c07d (diff) | |
fix on_config order
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/private/action/build/target.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/modules/private/action/build/target.lua b/xmake/modules/private/action/build/target.lua index cd5c60c34..540e7ec5f 100644 --- a/xmake/modules/private/action/build/target.lua +++ b/xmake/modules/private/action/build/target.lua @@ -238,6 +238,10 @@ function add_targetjobs_with_stage(jobgraph, target, stage, opt) table.insert(instances, ruleinst) end end + if job_kind == "config" then + instances = table.slice(instances, 2) + table.insert(instances, target) + end local jobsize = jobgraph:size() jobgraph:group(group_name, function () local has_script = false |
