summaryrefslogtreecommitdiff
path: root/configure.py
diff options
context:
space:
mode:
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index f1e09d9e98..ce01a14566 100755
--- a/configure.py
+++ b/configure.py
@@ -969,7 +969,8 @@ def configure_node(o):
cross_compiling and want_snapshots)
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 want_snapshots)
else:
o['variables']['node_use_node_snapshot'] = 'false'