mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
test: pass python path to node-gyp
node-gyp rebuild should use the same python interpreter as in Makefile rather than let node-gyp guess the python path by itself. PR-URL: https://github.com/nodejs/node/pull/6646 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
committed by
Anna Henningsen
parent
4c24fbf317
commit
25f8d04525
2
Makefile
2
Makefile
@@ -127,6 +127,7 @@ test-valgrind: all
|
||||
|
||||
test/gc/node_modules/weak/build/Release/weakref.node: $(NODE_EXE)
|
||||
$(NODE) deps/npm/node_modules/node-gyp/bin/node-gyp rebuild \
|
||||
--python="$(PYTHON)" \
|
||||
--directory="$(shell pwd)/test/gc/node_modules/weak" \
|
||||
--nodedir="$(shell pwd)"
|
||||
|
||||
@@ -149,6 +150,7 @@ test/addons/.buildstamp: $(ADDONS_BINDING_GYPS) \
|
||||
# embedded addons have been generated from the documentation.
|
||||
for dirname in test/addons/*/; do \
|
||||
$(NODE) deps/npm/node_modules/node-gyp/bin/node-gyp rebuild \
|
||||
--python="$(PYTHON)" \
|
||||
--directory="$$PWD/$$dirname" \
|
||||
--nodedir="$$PWD" || exit 1 ; \
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user