diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-05-27 12:10:16 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-05-27 12:10:16 -0700 |
commit | 379125ee37a7103fe92392c9510f5aae761b0e4c (patch) | |
tree | ed9e259cab59165316636a98416d0137e5410ea0 | |
parent | 2fe956af7c49a656c40747c0e79eb4728129fac3 (diff) |
define EMSCRIPTEN in the environment when using emmake
-rw-r--r-- | tools/shared.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/shared.py b/tools/shared.py index dd448b31..7d956293 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -727,6 +727,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' return env @staticmethod |