diff --git a/scripts/src/main.lua b/scripts/src/main.lua index 0f7461d83a2..5187ae5d042 100644 --- a/scripts/src/main.lua +++ b/scripts/src/main.lua @@ -169,7 +169,10 @@ end if _OPTIONS["WEBASSEMBLY"] then emccopts = emccopts - .. " -s BINARYEN=1" + .. " -s WASM=1" + else + emccopts = emccopts + .. " -s WASM=0" end if _OPTIONS["ARCHOPTS"] then