In generated .emscripten configs, access node by default from PATH, if not set otherwise.
This commit is contained in:
4
emsdk
4
emsdk
@@ -509,7 +509,9 @@ def generate_dot_emscripten(active_tools):
|
||||
temp_dir = tempfile.gettempdir().replace('\\', '/')
|
||||
|
||||
cfg = 'import os\n'
|
||||
cfg += "SPIDERMONKEY_ENGINE = ''\n"
|
||||
cfg += '''SPIDERMONKEY_ENGINE = ''
|
||||
NODE_JS = 'node'
|
||||
'''
|
||||
|
||||
for tool in active_tools:
|
||||
tool_cfg = tool.activated_config()
|
||||
|
||||
Reference in New Issue
Block a user