diff options
| author | ruki <[email protected]> | 2019-10-15 22:39:34 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-10-15 09:57:28 +0800 |
| commit | b7408795978c7c8b45a9c8b8c29585bbf82c7b07 (patch) | |
| tree | d11518e101e6a785ff8235f05fa5e6fd20498fb9 | |
| parent | 6b5d98fb5d3131cac526885ef652b84613b258c6 (diff) | |
fix windows config
| -rw-r--r-- | xmake/platforms/windows/config.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/platforms/windows/config.lua b/xmake/platforms/windows/config.lua index dc647f065..f4c188d94 100644 --- a/xmake/platforms/windows/config.lua +++ b/xmake/platforms/windows/config.lua @@ -71,7 +71,8 @@ function _toolchains() mrc:add("rc.exe") -- init the assember - if config.get("arch"):find("64") then + local arch = config.get("arch") + if arch and arch:find("64") then as:add("ml64.exe") else as:add("ml.exe") |
