diff options
| author | star9029 <[email protected]> | 2024-08-29 21:00:10 +0800 |
|---|---|---|
| committer | star9029 <[email protected]> | 2024-08-29 21:00:10 +0800 |
| commit | 7d2b49214caa15642cbdff28bf8797692e14768c (patch) | |
| tree | 800c48aa1715333729989130dd8220fc903e6725 /xmake/modules/package/tools/ninja.lua | |
| parent | 2292b165497b0f2c560899c2436a52b779ee043b (diff) | |
target -> targets
Diffstat (limited to 'xmake/modules/package/tools/ninja.lua')
| -rw-r--r-- | xmake/modules/package/tools/ninja.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/package/tools/ninja.lua b/xmake/modules/package/tools/ninja.lua index df5ba21da..2d2fb734d 100644 --- a/xmake/modules/package/tools/ninja.lua +++ b/xmake/modules/package/tools/ninja.lua @@ -28,9 +28,9 @@ function _default_argv(package, configs, opt) local njob = opt.jobs or option.get("jobs") or tostring(os.default_njob()) local argv = {} - local target = table.wrap(opt.target) - if #target ~= 0 then - table.join2(argv, target) + local targets = table.wrap(opt.target) + if #targets ~= 0 then + table.join2(argv, targets) end table.insert(argv, "-C") table.insert(argv, buildir) |
