2018-02-21 13:23:11 +01:00
|
|
|
+++ build/SConstruct
|
2019-03-21 11:08:54 +01:00
|
|
|
@@ -63,10 +63,10 @@ elif platform_arg == 'javascript':
|
|
|
|
custom_tools = ['cc', 'c++', 'ar', 'link', 'textfile', 'zip']
|
|
|
|
|
2018-02-21 13:23:11 +01:00
|
|
|
env_base = Environment(tools=custom_tools)
|
|
|
|
-if 'TERM' in os.environ:
|
|
|
|
- env_base['ENV']['TERM'] = os.environ['TERM']
|
|
|
|
-env_base.AppendENVPath('PATH', os.getenv('PATH'))
|
|
|
|
-env_base.AppendENVPath('PKG_CONFIG_PATH', os.getenv('PKG_CONFIG_PATH'))
|
|
|
|
+for k in ("TERM", "PATH", "PKG_CONFIG_PATH"):
|
|
|
|
+ if (k in os.environ):
|
|
|
|
+ env_base["ENV"][k] = os.environ[k]
|
|
|
|
+
|
2020-02-13 00:27:23 +01:00
|
|
|
env_base.disabled_modules = []
|
|
|
|
env_base.use_ptrcall = False
|
|
|
|
env_base.module_version_string = ""
|