auto merge of #8821 : alexcrichton/rust/fix-libuv-build, r=huonw
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:
commit
9bfdd42703
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…
Reference in New Issue