From 1abf478eb9bf502b5ab4d254a90112167719455c Mon Sep 17 00:00:00 2001 From: eska Date: Fri, 10 Mar 2017 05:09:54 +0100 Subject: Fix web export build --- platform/javascript/detect.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'platform/javascript/detect.py') diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py index 799b550899..c828045179 100644 --- a/platform/javascript/detect.py +++ b/platform/javascript/detect.py @@ -35,7 +35,7 @@ def get_flags(): def create(env): # remove Windows' .exe suffix - return env.Clone(PROGSUFFIX='') + return env.Clone(tools=['textfile', 'zip'], PROGSUFFIX='') def escape_sources_backslashes(target, source, env, for_signature): @@ -97,7 +97,6 @@ def configure(env): env.Append(LINKFLAGS=['-s', 'ALLOW_MEMORY_GROWTH=1']) env.extra_suffix = '.webassembly' + env.extra_suffix else: - env.Append(CPPFLAGS=['-s', 'ASM_JS=1']) env.Append(LINKFLAGS=['-s', 'ASM_JS=1']) env.Append(LINKFLAGS=['--separate-asm']) -- cgit v1.2.3