From e2a3fc0b40f80747b6cae8eb473b1e662e24be71 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 25 Apr 2018 22:33:10 +0800 Subject: fix as bug for window load --- xmake/platforms/windows/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1