From 351e23df843257eac27e7368971049090c4e8256 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jukka=20Jyl=C3=A4nki?= Date: Fri, 14 Mar 2014 13:43:25 +0200 Subject: [PATCH] Register the needed empty placeholder SPIDERMONKEY_ENGINE string before activating the actual spidermonkey engine path, if it exists. --- emsdk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emsdk b/emsdk index 3925fd8..02631fc 100755 --- a/emsdk +++ b/emsdk @@ -355,14 +355,14 @@ def generate_dot_emscripten(active_tools): temp_dir = tempfile.gettempdir().replace('\\', '/') cfg = 'import os\n' + cfg += "SPIDERMONKEY_ENGINE = ''\n" for tool in active_tools: tool_cfg = tool.activated_config() if tool_cfg: cfg += tool_cfg + '\n' - cfg += '''SPIDERMONKEY_ENGINE = '' -V8_ENGINE = '' + cfg += '''V8_ENGINE = '' TEMP_DIR = ''' + "'" + temp_dir + "'" + ''' COMPILER_ENGINE = NODE_JS JS_ENGINES = [NODE_JS]