From 662b1f9e51eeaf7e2e062a2b74a863f15077e433 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 14 Aug 2020 22:35:08 +0800 Subject: improve mrc --- xmake/modules/core/tools/rc.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xmake/modules/core/tools/rc.lua b/xmake/modules/core/tools/rc.lua index a0379ca57..10099a5ff 100644 --- a/xmake/modules/core/tools/rc.lua +++ b/xmake/modules/core/tools/rc.lua @@ -25,7 +25,9 @@ import("private.tools.vstool") -- init it function init(self) - self:set("mrcflags", "-nologo") + if winos.version():gt("winxp") then + self:set("mrcflags", "-nologo") + end end -- make the define flag -- cgit v1.3.1