summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-09-09 22:10:25 +0200
committerAnna Henningsen <anna@addaleax.net>2019-09-12 19:05:10 +0200
commit03eec137a2114092503de04c2c3291af00a50a4e (patch)
tree4a516fb6920bd1310254d4664a1684ace14eb95a /Makefile
parent484c24fd4e3de3c43dacaec4f709736527e449ca (diff)
downloadandroid-node-v8-03eec137a2114092503de04c2c3291af00a50a4e.tar.gz
android-node-v8-03eec137a2114092503de04c2c3291af00a50a4e.tar.bz2
android-node-v8-03eec137a2114092503de04c2c3291af00a50a4e.zip
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 <me@gus.host> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a313406d92..d2f393d741 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 \