build: define python when generating out/Makefile

PR-URL: https://github.com/nodejs/node/pull/57970
Refs: https://github.com/nodejs/node/pull/48462
Reviewed-By: LiviaMedeiros <livia@cirno.name>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Aviv Keller authored and GitHub committed 2025-04-27 19:21:59 +00:00
1 parent 6e60ab744e
commit c712dd284b
1 file changed
+1 -1
+1 -1
View File
@@ -175,7 +175,7 @@ out/Makefile: config.gypi common.gypi node.gyp \
tools/v8_gypfiles/toolchain.gypi \
tools/v8_gypfiles/features.gypi \
tools/v8_gypfiles/inspector.gypi tools/v8_gypfiles/v8.gyp
$(PYTHON) tools/gyp_node.py -f make
$(PYTHON) tools/gyp_node.py -f make -Dpython=$(PYTHON)
# node_version.h is listed because the N-API version is taken from there
# and included in config.gypi