From 329f3735e60f39aa8aade3a41b4b9b8b5b611367 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Mon, 31 Mar 2014 16:26:32 +0100 Subject: [PATCH] Build: Use the same Python for Mako as for DOM codegen. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This defaults to Python 2.x and makes the previous commit useless, but upgrading Mako doesn’t hurt anyway. --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index c036ef8f48c..e96fac06955 100644 --- a/Makefile.in +++ b/Makefile.in @@ -310,7 +310,7 @@ globalgen_dependencies := $(addprefix $(BINDINGS_SRC)/, GlobalGen.py Bindings.co $(MAKO_style): $(MAKO_SRC_style) # Use a temporary file to avoid writing an empty (but more recent) file on failure. - PYTHONPATH=$(MAKO_ZIP) python -c "from mako.template import Template; print(Template(filename='$<').render())" > $@.tmp + PYTHONPATH=$(MAKO_ZIP) $(CFG_PYTHON2) -c "from mako.template import Template; print(Template(filename='$<').render())" > $@.tmp mv $@.tmp $@