diff options
Diffstat (limited to 'xmake/core/tool/linker.lua')
| -rw-r--r-- | xmake/core/tool/linker.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/tool/linker.lua b/xmake/core/tool/linker.lua index 9cdff8840..7eaecc666 100644 --- a/xmake/core/tool/linker.lua +++ b/xmake/core/tool/linker.lua @@ -242,7 +242,7 @@ function linker:link(objectfiles, targetfile, opt) opt = opt or {} local linkflags = opt.linkflags or self:linkflags(opt) profiler:enter(self:name(), "link", targetfile) - local ok, errors = sandbox.load(self:_tool().link, self:_tool(), + local ok, errors = sandbox.call(self:_tool().link, self:_tool(), table.wrap(objectfiles), self:_targetkind(), targetfile, linkflags, table.join(opt, {target = self:target()})) profiler:leave(self:name(), "link", targetfile) |
