summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2016-06-14 11:27:16 -0300
committerGeorge Marques <george@gmarqu.es>2016-06-14 11:27:16 -0300
commitc48ffed87a189c3543e0bb2a8056f24b5f7d19cb (patch)
tree1344321d796a3b9789e4eb927066338683b36c89 /platform
parent99e5bb56d120e82279404db2731b2d930ef1b30b (diff)
Fix javascript build in Windows
Fix #3438
Diffstat (limited to 'platform')
-rw-r--r--platform/javascript/detect.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py
index ae33a43f0d..d76a20bea7 100644
--- a/platform/javascript/detect.py
+++ b/platform/javascript/detect.py
@@ -44,6 +44,9 @@ def get_flags():
def configure(env):
+ env['ENV'] = os.environ;
+ env.use_windows_spawn_fix('javascript')
+
env.Append(CPPPATH=['#platform/javascript'])
em_path=os.environ["EMSCRIPTEN_ROOT"]