diff options
| -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 df1347686..f9fcba8b1 100644 --- a/xmake/actions/build/kinds/object.lua +++ b/xmake/actions/build/kinds/object.lua @@ -40,7 +40,7 @@ function _add_batchjobs_for_rule(batchjobs, rootjob, target, sourcebatch, suffix script(target, batchjobs, sourcebatch, {rootjob = rootjob}) else batchjobs:addjob("rule/" .. rulename .. "/" .. scriptname, function (index, total) - script(target, sourcebatch, {progress = (index * 100) / total}) + script(target, batchjobs, sourcebatch, {progress = (index * 100) / total}) end, rootjob) end else |
