diff options
| author | Leon Krause | 2017-08-13 13:10:04 +0200 |
|---|---|---|
| committer | Leon Krause | 2017-09-11 20:56:29 +0200 |
| commit | 4db801aaeac130a74197ab43e531ce2533414eb9 (patch) | |
| tree | 65cb628baaea9b9c680557b41f603bba276306bf /platform/javascript/detect.py | |
| parent | b4ad899ef64df6e341a4cbe52a15109cd3d6b2eb (diff) | |
| download | godot-4db801aaeac130a74197ab43e531ce2533414eb9.tar.gz godot-4db801aaeac130a74197ab43e531ce2533414eb9.tar.zst godot-4db801aaeac130a74197ab43e531ce2533414eb9.zip | |
Diffstat (limited to 'platform/javascript/detect.py')
| -rw-r--r-- | platform/javascript/detect.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py index 68c8d1eea..b1bb1adb2 100644 --- a/platform/javascript/detect.py +++ b/platform/javascript/detect.py @@ -100,6 +100,7 @@ def configure(env): ## Link flags + env.Append(LINKFLAGS=['-s', 'EXTRA_EXPORTED_RUNTIME_METHODS="[\'FS\']"']) env.Append(LINKFLAGS=['-s', 'USE_WEBGL2=1']) if (env['wasm'] == 'yes'): @@ -112,6 +113,7 @@ def configure(env): else: env.Append(LINKFLAGS=['-s', 'ASM_JS=1']) env.Append(LINKFLAGS=['--separate-asm']) + env.Append(LINKFLAGS=['--memory-init-file', '1']) # TODO: Move that to opus module's config if("module_opus_enabled" in env and env["module_opus_enabled"] != "no"): |
