diff --git a/Makefile b/Makefile index bf0f0dd66d03f6..52711759b54c2b 100644 --- a/Makefile +++ b/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