Permalink
Browse files

Run gyp with CFG_PYTHON which is python < 3

This is required for systems where /usr/bin/python is actually python 3
  • Loading branch information...
1 parent 124eb21 commit 75afcffc2ffdbac1d0a837d8407ae5720dce9631 @alexcrichton alexcrichton committed Sep 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mk/rt.mk
View
@@ -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

9 comments on commit 75afcff

Contributor

bors replied Sep 7, 2013

saw approval from thestinger
at alexcrichton/rust@75afcff

Contributor

bors replied Sep 7, 2013

merging alexcrichton/rust/use-python-2 = 75afcff into auto

Contributor

bors replied Sep 7, 2013

alexcrichton/rust/use-python-2 = 75afcff merged ok, testing candidate = 17f9cd89

Contributor

bors replied Sep 7, 2013

saw approval from thestinger
at alexcrichton/rust@75afcff

Contributor

bors replied Sep 7, 2013

merging alexcrichton/rust/use-python-2 = 75afcff into auto

Contributor

bors replied Sep 7, 2013

alexcrichton/rust/use-python-2 = 75afcff merged ok, testing candidate = 82b6ef6

Contributor

bors replied Sep 7, 2013

fast-forwarding master to auto = 82b6ef6

Please sign in to comment.