summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/rc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-08-14 22:35:19 +0800
committerruki <[email protected]>2020-08-14 22:35:19 +0800
commitd54a105b75fd5bd1b75661995ac89a2bb1caed7f (patch)
treed761b3fcd136f71b25046cf643689cacfb938245 /xmake/modules/core/tools/rc.lua
parent662b1f9e51eeaf7e2e062a2b74a863f15077e433 (diff)
add comment
Diffstat (limited to 'xmake/modules/core/tools/rc.lua')
-rw-r--r--xmake/modules/core/tools/rc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/rc.lua b/xmake/modules/core/tools/rc.lua
index 10099a5ff..e982f9651 100644
--- a/xmake/modules/core/tools/rc.lua
+++ b/xmake/modules/core/tools/rc.lua
@@ -26,6 +26,7 @@ import("private.tools.vstool")
-- init it
function init(self)
if winos.version():gt("winxp") then
+ -- fix vs2008 on xp, e.g. fatal error RC1106: invalid option: -ologo
self:set("mrcflags", "-nologo")
end
end