mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
build: make addons build dep. on node_version.h
Make the `test/addons/.buildstamp` file dependent on
`src/node_version.h` since addons need to be re-compiled after
`NODE_MODULE_VERSION` bumps, e.g. as it happened recently
in b5bdff876b
.
PR-URL: https://github.com/nodejs/node/pull/8861
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ilkka Myller <ilkka.myller@nodefield.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
parent
7b5ffa46fe
commit
9def09728b
2
Makefile
2
Makefile
@ -164,7 +164,7 @@ test/addons/.buildstamp: config.gypi \
|
||||
deps/npm/node_modules/node-gyp/package.json \
|
||||
$(ADDONS_BINDING_GYPS) $(ADDONS_BINDING_SOURCES) \
|
||||
deps/uv/include/*.h deps/v8/include/*.h \
|
||||
src/node.h src/node_buffer.h src/node_object_wrap.h \
|
||||
src/node.h src/node_buffer.h src/node_object_wrap.h src/node_version.h \
|
||||
test/addons/.docbuildstamp
|
||||
# Cannot use $(wildcard test/addons/*/) here, it's evaluated before
|
||||
# embedded addons have been generated from the documentation.
|
||||
|
Loading…
Reference in New Issue
Block a user