about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-09-07 12:41:02 -0700
committerbors <bors@rust-lang.org>2013-09-07 12:41:02 -0700
commit82b6ef66c22ac876cfc319eae7010648468919b9 (patch)
tree49d29635eeb8a2828093213b664c39be93d53229
parent79e78c4b0c49003c8191f7094651753ecfabfd24 (diff)
parent75afcffc2ffdbac1d0a837d8407ae5720dce9631 (diff)
downloadrust-82b6ef66c22ac876cfc319eae7010648468919b9.tar.gz
rust-82b6ef66c22ac876cfc319eae7010648468919b9.zip
auto merge of #9041 : alexcrichton/rust/use-python-2, r=thestinger
This is required for systems where /usr/bin/python is actually python 3

I already did this before, but forgot to re-port it once libuv was re-upgraded
-rw-r--r--mk/rt.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/rt.mk b/mk/rt.mk
index 14aa2884b60..5911ae89fdb 100644
--- a/mk/rt.mk
+++ b/mk/rt.mk
@@ -178,7 +178,7 @@ export PYTHONPATH := $(PYTHONPATH):$$(S)src/gyp/pylib
 
 $$(LIBUV_MAKEFILE_$(1)_$(2)):
 	(cd $(S)src/libuv/ && \
-	 ./gyp_uv -f make -Dtarget_arch=$$(LIBUV_ARCH_$(1)) -D ninja \
+	 $$(CFG_PYTHON) ./gyp_uv -f make -Dtarget_arch=$$(LIBUV_ARCH_$(1)) -D ninja \
 	   -Goutput_dir=$$(@D) --generator-output $$(@D))
 
 # XXX: Shouldn't need platform-specific conditions here