diff options
| author | ruki <[email protected]> | 2020-08-24 22:57:56 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-08-24 22:57:56 +0800 |
| commit | a723be4b4002063eaa6664a17d6c6c56d5ef0fe4 (patch) | |
| tree | d68b4b6ad42441e462fddf138be61c930906eb3e | |
| parent | 6da64856c6ed01eb567a977dae3e117babaaa287 (diff) | |
fix on_build_file
| -rw-r--r-- | xmake/actions/build/kinds/object.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/build/kinds/object.lua b/xmake/actions/build/kinds/object.lua index 886c891b1..ab3eaf281 100644 --- a/xmake/actions/build/kinds/object.lua +++ b/xmake/actions/build/kinds/object.lua @@ -101,7 +101,7 @@ function add_batchjobs_for_sourcefiles(batchjobs, rootjob, target, sourcebatches -- add source batches batchjobs:group_enter(target:name() .. "/build_files") for _, sourcebatch in pairs(sourcebatches) do - if not _add_batchjobs_for_target(target, job_build_after, target, sourcebatch) then + if not _add_batchjobs_for_target(batchjobs, job_build_after, target, sourcebatch) then _add_batchjobs_for_rule(batchjobs, job_build_after, target, sourcebatch) end end |
