diff options
| author | ruki <[email protected]> | 2020-08-14 22:35:08 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-08-14 22:35:08 +0800 |
| commit | 662b1f9e51eeaf7e2e062a2b74a863f15077e433 (patch) | |
| tree | 48a96c80b189497577075539c16cf893bccf1660 /xmake/modules/core/tools/rc.lua | |
| parent | 2f992aa914c6925d8300b5806a188702977ea1ed (diff) | |
improve mrc
Diffstat (limited to 'xmake/modules/core/tools/rc.lua')
| -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 |
