summaryrefslogtreecommitdiff
path: root/platform/javascript/detect.py
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-03-10 07:22:30 +0100
committerGitHub <noreply@github.com>2017-03-10 07:22:30 +0100
commitb043f0e77dac613e8af0484642333f116d87be6c (patch)
treece8e66f247973763aca1fa05154ac7d48d34a691 /platform/javascript/detect.py
parent15c4d5006ee6982223777ababfbc2c040f3e344f (diff)
parent1abf478eb9bf502b5ab4d254a90112167719455c (diff)
Merge pull request #7997 from eska014/webbuild
Fix web export build
Diffstat (limited to 'platform/javascript/detect.py')
-rw-r--r--platform/javascript/detect.py3
1 files changed, 1 insertions, 2 deletions
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'])