summaryrefslogtreecommitdiff
path: root/configure.py
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2019-08-24 22:52:15 +0800
committerDaniel Bevenius <daniel.bevenius@gmail.com>2019-08-27 06:58:20 +0200
commitf96f9fbe31f30d2effe3cd3a74c19a05360757a5 (patch)
tree23bfedfae2412b7401eed79c37e9cb809138429f /configure.py
parentbfa2683eb63b0934e307b072072478ee0c7dbc8f (diff)
downloadandroid-node-v8-f96f9fbe31f30d2effe3cd3a74c19a05360757a5.tar.gz
android-node-v8-f96f9fbe31f30d2effe3cd3a74c19a05360757a5.tar.bz2
android-node-v8-f96f9fbe31f30d2effe3cd3a74c19a05360757a5.zip
build: make --without-snapshot imply --without-node-snapshot
PR-URL: https://github.com/nodejs/node/pull/29294 Fixes: https://github.com/nodejs/node/issues/29243 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
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'