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 2025-04-27 15:21:59 -04:00 committed by GitHub
parent 6e60ab744e
commit c712dd284b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ out/Makefile: config.gypi common.gypi node.gyp \
tools/v8_gypfiles/toolchain.gypi \ tools/v8_gypfiles/toolchain.gypi \
tools/v8_gypfiles/features.gypi \ tools/v8_gypfiles/features.gypi \
tools/v8_gypfiles/inspector.gypi tools/v8_gypfiles/v8.gyp 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 # node_version.h is listed because the N-API version is taken from there
# and included in config.gypi # and included in config.gypi