Skip to content

Commit 66a07b0

Browse files
committed
Run gyp_uv with CFG_PYTHON instead of directly
The syntax of the script requires python < 3, and so does our build system so we can just use CFG_PYTHON to run the script. This prevents build failures where `python` is actually python3 or later.
1 parent 78c5f97 commit 66a07b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mk/rt.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ LIBUV_NO_LOAD = run-benchmarks.target.mk run-tests.target.mk \
170170

171171
$$(LIBUV_MAKEFILE_$(1)_$(2)): $$(LIBUV_GYP)
172172
(cd $(S)src/libuv/ && \
173-
./gyp_uv -f make -Dtarget_arch=$$(HOST_$(1)) -D ninja \
173+
$$(CFG_PYTHON) ./gyp_uv -f make -Dtarget_arch=$$(HOST_$(1)) -D ninja \
174174
-Goutput_dir=$$(@D) --generator-output $$(@D))
175175

176176
# XXX: Shouldn't need platform-specific conditions here

0 commit comments

Comments
 (0)