Fix build on systems where "python" is python 3.
[mesa.git] / src / mesa / drivers / dri / common / xmlpool / Makefile
index 62ec919ea68c3e7113c327f208fa4032e7d6b80b..b71629e9f166a8cc97f2575cf5ec94d870e0bd3a 100644 (file)
@@ -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: