aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/scons/site_scons/site_tools/emscripten/emscripten.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/scons/site_scons/site_tools/emscripten/emscripten.py b/tools/scons/site_scons/site_tools/emscripten/emscripten.py
index 7ccf2c5f..ce704bf8 100644
--- a/tools/scons/site_scons/site_tools/emscripten/emscripten.py
+++ b/tools/scons/site_scons/site_tools/emscripten/emscripten.py
@@ -21,6 +21,8 @@ def generate(env, emscripten_path=None, **kw):
emscripten_path = EMSCRIPTEN_ROOT
+ env['EMSCRIPTEN_ROOT'] = emscripten_path
+
try:
emscPath = emscripten_path.abspath
except: