From c304594536a87abe2d2c7add05565689346ed48b Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Mon, 9 Sep 2019 22:10:25 +0200 Subject: [PATCH] build: re-run configure on node_version.h change Fixes: https://github.com/nodejs/node/issues/29509 PR-URL: https://github.com/nodejs/node/pull/29510 Reviewed-By: Gus Caplan Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau Reviewed-By: Ben Noordhuis Reviewed-By: David Carlier Reviewed-By: Jiawen Geng Reviewed-By: Luigi Pinca Reviewed-By: James M Snell Reviewed-By: Michael Dawson --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a313406d92adf6..d2f393d741e4cd 100644 --- a/Makefile +++ b/Makefile @@ -146,7 +146,9 @@ out/Makefile: config.gypi common.gypi node.gyp \ tools/v8_gypfiles/inspector.gypi tools/v8_gypfiles/v8.gyp $(PYTHON) tools/gyp_node.py -f make -config.gypi: configure configure.py +# node_version.h is listed because the N-API version is taken from there +# and included in config.gypi +config.gypi: configure configure.py src/node_version.h @if [ -x config.status ]; then \ ./config.status; \ else \