diff options
| -rw-r--r-- | xmake/platforms/windows/xmake.lua | 2 |
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 |
