summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2018-04-25 22:33:10 +0800
committerruki <[email protected]>2018-04-25 09:19:04 +0800
commite2a3fc0b40f80747b6cae8eb473b1e662e24be71 (patch)
tree56f5970dffad06473374cc4602782e3681da844b
parent578eb83ef84d05d48714535709325af9f3c87a42 (diff)
fix as bug for window load
-rw-r--r--xmake/platforms/windows/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/platforms/windows/xmake.lua b/xmake/platforms/windows/xmake.lua
index a2b6fad0c..f17c4ef7e 100644
--- a/xmake/platforms/windows/xmake.lua
+++ b/xmake/platforms/windows/xmake.lua
@@ -59,7 +59,7 @@ platform("windows")
-- init flags for asm
local as = config.get("as")
- if as:find("yasm", 1, true) then
+ if as and as:find("yasm", 1, true) then
_g.asflags = { "-f", arch == "x64" and "win64" or "win32" }
end