Skip to content
Permalink
Browse files

build: make --without-snapshot imply --without-node-snapshot

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 Aug 24, 2019
1 parent def5c3e commit 6a914ed36e91a021a57923cdea53cd83a3f99284
Showing with 2 additions and 1 deletion.
  1. +2 −1 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'

0 comments on commit 6a914ed

Please sign in to comment.
You can’t perform that action at this time.