Skip to content

Commit 17d656f

Browse files
joyeecheungBridgeAR
authored andcommitted
build: make --without-snapshot imply --without-node-snapshot
PR-URL: #29294 Fixes: #29243 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 164075e commit 17d656f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

configure.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,8 @@ def configure_node(o):
969969
cross_compiling and want_snapshots)
970970

971971
if not options.without_node_snapshot:
972-
o['variables']['node_use_node_snapshot'] = b(not cross_compiling)
972+
o['variables']['node_use_node_snapshot'] = b(
973+
not cross_compiling and want_snapshots)
973974
else:
974975
o['variables']['node_use_node_snapshot'] = 'false'
975976

0 commit comments

Comments
 (0)