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.
This commit is contained in:
parent
78c5f97a09
commit
66a07b0550
1 changed files with 1 additions and 1 deletions
2
mk/rt.mk
2
mk/rt.mk
|
@ -170,7 +170,7 @@ LIBUV_NO_LOAD = run-benchmarks.target.mk run-tests.target.mk \
|
|||
|
||||
$$(LIBUV_MAKEFILE_$(1)_$(2)): $$(LIBUV_GYP)
|
||||
(cd $(S)src/libuv/ && \
|
||||
./gyp_uv -f make -Dtarget_arch=$$(HOST_$(1)) -D ninja \
|
||||
$$(CFG_PYTHON) ./gyp_uv -f make -Dtarget_arch=$$(HOST_$(1)) -D ninja \
|
||||
-Goutput_dir=$$(@D) --generator-output $$(@D))
|
||||
|
||||
# XXX: Shouldn't need platform-specific conditions here
|
||||
|
|
Loading…
Add table
Reference in a new issue