diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-09-07 10:22:36 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-09-07 10:22:36 -0700 |
| commit | 75afcffc2ffdbac1d0a837d8407ae5720dce9631 (patch) | |
| tree | 132656ea46f3687a13aeabd805fa0725848baa73 | |
| parent | 124eb2119c78651cfaaa7a046a101fa2e20f83ca (diff) | |
| download | rust-75afcffc2ffdbac1d0a837d8407ae5720dce9631.tar.gz rust-75afcffc2ffdbac1d0a837d8407ae5720dce9631.zip | |
Run gyp with CFG_PYTHON which is python < 3
This is required for systems where /usr/bin/python is actually python 3
| -rw-r--r-- | mk/rt.mk | 2 |
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 |
