aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLCID Fire <lcid-fire@gmx.net>2012-09-21 21:33:32 +0200
committerLCID Fire <lcid-fire@gmx.net>2012-09-21 21:35:52 +0200
commitc76751c51f126932e5767a2700364a1c0a263cf6 (patch)
tree3f59944dda6623e6fdbd0de2cb6d4f4dd61d8f18
parent55f85c0abaa05e88f2450311488fa88236d16146 (diff)
Make EMSCRIPTEN_ROOT path available in Environment
-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: