diff options
| author | ruki <[email protected]> | 2020-03-14 00:17:56 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-03-13 19:47:40 +0800 |
| commit | 6b9c77991a4f6f69fe1faa4e2e9905f71bc5ce94 (patch) | |
| tree | 5d8bef4391b7b084da5dd84acf3a18520a7f7e3e | |
| parent | 0738f08ef44a4a7c187bbce9049836f9b6f74e7c (diff) | |
fix object
| -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 |
