summaryrefslogtreecommitdiff
path: root/configure.py
diff options
context:
space:
mode:
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.py b/configure.py
index 61708a4447..48624aba92 100755
--- a/configure.py
+++ b/configure.py
@@ -981,13 +981,15 @@ def configure_node(o):
o['variables']['want_separate_host_toolset'] = int(cross_compiling)
if not options.without_node_snapshot:
- o['variables']['node_use_node_snapshot'] = b(not cross_compiling)
+ o['variables']['node_use_node_snapshot'] = b(
+ not cross_compiling and not options.shared)
else:
o['variables']['node_use_node_snapshot'] = 'false'
if not options.without_node_code_cache:
# TODO(refack): fix this when implementing embedded code-cache when cross-compiling.
- o['variables']['node_use_node_code_cache'] = b(not cross_compiling)
+ o['variables']['node_use_node_code_cache'] = b(
+ not cross_compiling and not options.shared)
else:
o['variables']['node_use_node_code_cache'] = 'false'