diff options
| author | ruki <[email protected]> | 2020-06-20 19:14:20 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-06-20 19:14:20 +0800 |
| commit | 8a4d7349f8562a3cf5869dfa4a6460c049f44f3b (patch) | |
| tree | b508e7659b0c6be16fbafeb9481df9751a60992f /xmake/modules/core/tools/rc.lua | |
| parent | 966b8dd7a01b09a93ba21ee4d2df0d471ab2282c (diff) | |
fix check options
Diffstat (limited to 'xmake/modules/core/tools/rc.lua')
| -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 cdaaa6b49..df26e6f09 100644 --- a/xmake/modules/core/tools/rc.lua +++ b/xmake/modules/core/tools/rc.lua @@ -59,7 +59,8 @@ function compile(self, sourcefile, objectfile, dependinfo, flags) { function () -- @note we need not uses vstool.iorunv to enable unicode output for rc.exe - local outdata, errdata = os.iorunv(compargv(self, sourcefile, objectfile, flags)) + local program, argv = compargv(self, sourcefile, objectfile, flags) + local outdata, errdata = os.iorunv(program, argv, {envs = opt.envs}) return (outdata or "") .. (errdata or "") end, catch |
