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>
This commit is contained in:
Joyee Cheung authored and Daniel Bevenius committed 2019-08-27 06:58:20 +02:00
1 parent bfa2683eb6
commit f96f9fbe31
1 file changed
+2 -1
+2 -1
View File
@@ -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'