mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Build: Use the same Python for Mako as for DOM codegen.
This defaults to Python 2.x and makes the previous commit useless, but upgrading Mako doesn’t hurt anyway.
This commit is contained in:
parent
f48492e5a5
commit
329f3735e6
1 changed files with 1 additions and 1 deletions
|
@ -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 $@
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue