summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/rc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-05-08 22:46:38 +0800
committerruki <[email protected]>2018-05-08 10:39:52 +0800
commitc61545b0275b64c8b0294ce69e635e30475a2239 (patch)
tree0eba3c71f7065c5546f059e755f1ac869d4ac4fd /xmake/modules/core/tools/rc.lua
parent5a1eebb5b49e7476ceb773d9b846c0c61c9f99c8 (diff)
improve build dependence
Diffstat (limited to 'xmake/modules/core/tools/rc.lua')
-rw-r--r--xmake/modules/core/tools/rc.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/core/tools/rc.lua b/xmake/modules/core/tools/rc.lua
index 52d9c0100..4ff7a2faa 100644
--- a/xmake/modules/core/tools/rc.lua
+++ b/xmake/modules/core/tools/rc.lua
@@ -65,7 +65,7 @@ function _compargv1(self, sourcefile, objectfile, flags)
end
-- complie the source file
-function _compile1(self, sourcefile, objectfile, depinfo, flags)
+function _compile1(self, sourcefile, objectfile, dependinfo, flags)
-- ensure the object directory
os.mkdir(path.directory(objectfile))
@@ -109,13 +109,13 @@ function compargv(self, sourcefiles, objectfile, flags)
end
-- complie the source file
-function compile(self, sourcefiles, objectfile, depinfo, flags)
+function compile(self, sourcefiles, objectfile, dependinfo, flags)
-- only support single source file now
assert(type(sourcefiles) ~= "table", "'object:sources' not support!")
-- for only single source file
- _compile1(self, sourcefiles, objectfile, depinfo, flags)
+ _compile1(self, sourcefiles, objectfile, dependinfo, flags)
end