Added support for resource compiler tool under the GCC toolset.
This commit is contained in:
parent
5946f73f4c
commit
48c49498fa
@ -288,6 +288,10 @@
|
||||
--
|
||||
|
||||
function gcc.gettoolname(cfg, tool)
|
||||
if tool == "rc" then
|
||||
return "windres"
|
||||
end
|
||||
|
||||
local sysflags = gcc.sysflags[cfg.architecture] or gcc.sysflags[cfg.system] or {}
|
||||
return sysflags[tool]
|
||||
end
|
||||
|
@ -36,6 +36,7 @@
|
||||
test.isnil(gcc.gettoolname(cfg, "cc"))
|
||||
test.isnil(gcc.gettoolname(cfg, "cxx"))
|
||||
test.isnil(gcc.gettoolname(cfg, "ar"))
|
||||
test.isequal("windres", gcc.gettoolname(cfg, "rc"))
|
||||
end
|
||||
|
||||
function suite.tools_onPS3()
|
||||
|
Loading…
Reference in New Issue
Block a user