Skip to content

Commit

Permalink
build: make --without-snapshot imply --without-node-snapshot
Browse files Browse the repository at this point in the history
PR-URL: #29294
Fixes: #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>
  • Loading branch information
joyeecheung authored and BridgeAR committed Sep 4, 2019
1 parent def5c3e commit 6a914ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit 6a914ed

Please sign in to comment.