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/rc.lua | |
| parent | fa9702bfcf4ba7ed2b599727913444cc3498bfda (diff) | |
improve dep compile and link
Diffstat (limited to 'xmake/modules/core/tools/rc.lua')
| -rw-r--r-- | xmake/modules/core/tools/rc.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/core/tools/rc.lua b/xmake/modules/core/tools/rc.lua index f6feecb56..5d02a4837 100644 --- a/xmake/modules/core/tools/rc.lua +++ b/xmake/modules/core/tools/rc.lua @@ -62,7 +62,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)) @@ -106,13 +106,13 @@ 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 |
