From 48a9f0b6d5f7abb3547cfe8e1c32371ffa3f886f Mon Sep 17 00:00:00 2001 From: Marco Schulze Date: Sat, 6 Apr 2013 17:52:40 -0300 Subject: [PATCH] Makefile.in: use python2 instead of python On some distributions and configurations, the python command might refer to python3 instead of python2, breaking the build. Fix this by executing python2 directly. --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 8274db6eadc6..810c763f5445 100644 --- a/Makefile.in +++ b/Makefile.in @@ -190,7 +190,7 @@ bindinggen_dependencies := $(addprefix $(BINDINGS_SRC)/, BindingGen.py Bindings. $(AUTOGEN_SRC_servo): %Binding.rs: $(bindinggen_dependencies) \ %.webidl - PYTHONDONTWRITEBYTECODE=1 python $(BINDINGS_SRC)/pythonpath.py \ + PYTHONDONTWRITEBYTECODE=1 python2 $(BINDINGS_SRC)/pythonpath.py \ -I$(BINDINGS_SRC)/parser -I$(BINDINGS_SRC)/ply \ -D$(BINDINGS_SRC) \ $(BINDINGS_SRC)/BindingGen.py rs \ @@ -204,7 +204,7 @@ $(CACHE_DIR)/.done: $(BINDINGS_SRC)/ParserResults.pkl: $(globalgen_dependencies) \ $(WEBIDL_servo) - PYTHONDONTWRITEBYTECODE=1 python $(BINDINGS_SRC)/pythonpath.py \ + PYTHONDONTWRITEBYTECODE=1 python2 $(BINDINGS_SRC)/pythonpath.py \ -I$(BINDINGS_SRC)/parser -I$(BINDINGS_SRC)/ply \ -D$(BINDINGS_SRC) \ $(BINDINGS_SRC)/GlobalGen.py $(BINDINGS_SRC)/Bindings.conf . \