From 17d656fa8915895944005265219004a793928671 Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Sat, 24 Aug 2019 22:52:15 +0800 Subject: [PATCH] build: make --without-snapshot imply --without-node-snapshot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/29294 Fixes: https://github.com/nodejs/node/issues/29243 Reviewed-By: Anna Henningsen Reviewed-By: Michaƫl Zasso Reviewed-By: Richard Lau Reviewed-By: Ben Noordhuis Reviewed-By: James M Snell --- configure.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.py b/configure.py index f1e09d9e98b9e9..ce01a14566e65a 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'