diff options
| author | ruki <[email protected]> | 2019-08-17 21:28:53 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-08-17 21:28:53 +0800 |
| commit | adef5373cbd290f0d679c449d06dcb92dbfe3325 (patch) | |
| tree | 04875f172db651567ebd98beea0756dffc0dc219 /xmake/modules/core/tools/lib.lua | |
| parent | 51dcf34216824a7d5096cad03b5b04964e8ceba8 (diff) | |
enable vs_unicode_output
Diffstat (limited to 'xmake/modules/core/tools/lib.lua')
| -rw-r--r-- | xmake/modules/core/tools/lib.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/lib.lua b/xmake/modules/core/tools/lib.lua index b8d3812ff..0ae9be7fd 100644 --- a/xmake/modules/core/tools/lib.lua +++ b/xmake/modules/core/tools/lib.lua @@ -25,7 +25,7 @@ function extract(self, libraryfile, objectdir) os.mkdir(objectdir) -- list object files - local objectfiles = os.iorunv(self:program(), {"-nologo", "-list", libraryfile}) + local objectfiles = os.iorunv(self:program(), {"-nologo", "-list", libraryfile}, {vs_unicode_output = true}) -- extrace all object files for _, objectfile in ipairs(objectfiles:split('\n')) do @@ -47,7 +47,7 @@ function extract(self, libraryfile, objectdir) end -- extract it - os.runv(self:program(), {"-nologo", "-extract:" .. objectfile, "-out:" .. outputfile, libraryfile}) + os.runv(self:program(), {"-nologo", "-extract:" .. objectfile, "-out:" .. outputfile, libraryfile}, {vs_unicode_output = true}) end end end |
