aboutsummaryrefslogtreecommitdiff
path: root/tools/shared.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-07-15 13:03:45 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-07-15 13:03:45 -0700
commit71f5ca8d50e0dd61841d67c0b3f8a05cf88c0880 (patch)
tree9eb729b2481298b18233a10e65f1e4f4fdda4949 /tools/shared.py
parentc20429516e29aa8e75ff1c5aab1e6a796cc79696 (diff)
fill EMSCRIPTEN in env with the path to emscripten
Diffstat (limited to 'tools/shared.py')
-rw-r--r--tools/shared.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/shared.py b/tools/shared.py
index 0351a736..007c2ee8 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -726,7 +726,7 @@ class Building:
env['HOST_CXXFLAGS'] = "-W" #if set to nothing, CXXFLAGS is used, which we don't want
env['PKG_CONFIG_LIBDIR'] = path_from_root('system', 'local', 'lib', 'pkgconfig') + os.path.pathsep + path_from_root('system', 'lib', 'pkgconfig')
env['PKG_CONFIG_PATH'] = os.environ.get ('EM_PKG_CONFIG_PATH') or ''
- env['EMSCRIPTEN'] = '1'
+ env['EMSCRIPTEN'] = path_from_root()
return env
@staticmethod