summaryrefslogtreecommitdiff
path: root/xmake/core/tool/compiler.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-08-01 11:52:55 +0800
committerruki <[email protected]>2017-08-01 11:52:55 +0800
commitc87c400fcbb581c1590694bf6ee05d73d5d3e984 (patch)
tree613f69068bd9015aecc891b5b67df7992b7e5e54 /xmake/core/tool/compiler.lua
parentfa9702bfcf4ba7ed2b599727913444cc3498bfda (diff)
improve dep compile and link
Diffstat (limited to 'xmake/core/tool/compiler.lua')
-rw-r--r--xmake/core/tool/compiler.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/tool/compiler.lua b/xmake/core/tool/compiler.lua
index 3be1f9749..612018ee3 100644
--- a/xmake/core/tool/compiler.lua
+++ b/xmake/core/tool/compiler.lua
@@ -180,7 +180,7 @@ function compiler:compile(sourcefiles, objectfile, opt)
opt = opt or {}
-- compile it
- return sandbox.load(self:_tool().compile, self:_tool(), sourcefiles, objectfile, opt.incdepfiles, self:compflags(opt))
+ return sandbox.load(self:_tool().compile, self:_tool(), sourcefiles, objectfile, opt.depinfo, self:compflags(opt))
end
-- get the compile arguments list