diff options
| author | ruki <[email protected]> | 2017-08-01 11:52:55 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-08-01 11:52:55 +0800 |
| commit | c87c400fcbb581c1590694bf6ee05d73d5d3e984 (patch) | |
| tree | 613f69068bd9015aecc891b5b67df7992b7e5e54 /xmake/modules/core/tools/ml.lua | |
| parent | fa9702bfcf4ba7ed2b599727913444cc3498bfda (diff) | |
improve dep compile and link
Diffstat (limited to 'xmake/modules/core/tools/ml.lua')
| -rw-r--r-- | xmake/modules/core/tools/ml.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/core/tools/ml.lua b/xmake/modules/core/tools/ml.lua index 6bc3ec4d1..d25e1f239 100644 --- a/xmake/modules/core/tools/ml.lua +++ b/xmake/modules/core/tools/ml.lua @@ -102,7 +102,7 @@ function _compargv1(self, sourcefile, objectfile, flags) end -- complie the source file -function _compile1(self, sourcefile, objectfile, incdepfile, flags) +function _compile1(self, sourcefile, objectfile, depinfo, flags) -- ensure the object directory os.mkdir(path.directory(objectfile)) @@ -122,12 +122,12 @@ function compargv(self, sourcefiles, objectfile, flags) end -- complie the source file -function compile(self, sourcefiles, objectfile, incdepfile, flags) +function compile(self, sourcefiles, objectfile, depinfo, flags) -- only support single source file now assert(type(sourcefiles) ~= "table", "'object:sources' not support!") -- for only single source file - _compile1(self, sourcefiles, objectfile, incdepfile, flags) + _compile1(self, sourcefiles, objectfile, depinfo, flags) end |
