diff options
| author | ruki <[email protected]> | 2020-03-28 22:25:41 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-03-28 22:25:41 +0800 |
| commit | efad01e547f30d66d90e486c91c3afa0dbaceed3 (patch) | |
| tree | 946f11f60752896c9896c135311893a0b7e2d937 /xmake/modules | |
| parent | 33ea9536a16adbec42a738b30821a19fc7076c4a (diff) | |
fix rc output
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/core/tools/rc.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/rc.lua b/xmake/modules/core/tools/rc.lua index 13c31bb50..12c94fa5f 100644 --- a/xmake/modules/core/tools/rc.lua +++ b/xmake/modules/core/tools/rc.lua @@ -58,7 +58,8 @@ function _compile1(self, sourcefile, objectfile, dependinfo, flags) try { function () - local outdata, errdata = vstool.iorunv(_compargv1(self, sourcefile, objectfile, flags)) + -- @note we need not uses vstool.iorunv to enable unicode output for rc.exe + local outdata, errdata = os.iorunv(_compargv1(self, sourcefile, objectfile, flags)) return (outdata or "") .. (errdata or "") end, catch |
