diff options
| -rw-r--r-- | xmake/modules/core/tools/rc.lua | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
