aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common/xmlpool
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-10-25 13:52:58 -0700
committerKenneth Graunke <[email protected]>2010-10-27 12:49:53 -0700
commit3acc8265200295265b476222299a013791050b73 (patch)
tree4811cef085bbc52c51581036deca14a361d93502 /src/mesa/drivers/dri/common/xmlpool
parent676c3f08bd13564c088ae85c3538ee0ee3c52599 (diff)
Fix build on systems where "python" is python 3.
First, it changes autoconf to use a "python2" binary when available, rather than plain "python" (which is ambiguous). Secondly, it changes the Makefiles to use $(PYTHON) $(PYTHON_FLAGS) rather than calling python directly. Signed-off-by: Xavier Chantry <[email protected]> Signed-off-by: Matthew William Cox <[email protected]> Signed-off-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/common/xmlpool')
-rw-r--r--src/mesa/drivers/dri/common/xmlpool/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/common/xmlpool/Makefile b/src/mesa/drivers/dri/common/xmlpool/Makefile
index 62ec919ea68..b71629e9f16 100644
--- a/src/mesa/drivers/dri/common/xmlpool/Makefile
+++ b/src/mesa/drivers/dri/common/xmlpool/Makefile
@@ -62,7 +62,7 @@ clean:
# Default target options.h
options.h: t_options.h mo
- python gen_xmlpool.py $(LANGS) > options.h
+ $(PYTHON2) $(PYTHON_FLAGS) gen_xmlpool.py $(LANGS) > options.h
# Update .mo files from the corresponding .po files.
mo: