From 66a07b0550c9e361f28a5a39aa72982b7acb41e2 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 28 Aug 2013 02:17:13 -0700 Subject: [PATCH] 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. --- mk/rt.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/rt.mk b/mk/rt.mk index 3178c579129..823dfd94c1a 100644 --- a/mk/rt.mk +++ b/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