From ae7898dfdbe5c8dab7d11c71862353f1ae43feb0 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 16 Aug 2018 13:59:38 +0100 Subject: configure: allow building with python3 Pretty much all of the scripts are python2+3 compatible. Check and allow using python3, while adjusting the PYTHON2 refs. Note: - python3.4 is used as it's the earliest supported version - python3 chosen prior to python2 Signed-off-by: Emil Velikov Acked-by: Eric Engestrom --- src/mesa/drivers/dri/i965/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers') diff --git a/src/mesa/drivers/dri/i965/Makefile.am b/src/mesa/drivers/dri/i965/Makefile.am index 889d4c68a2b..b6fff47abe9 100644 --- a/src/mesa/drivers/dri/i965/Makefile.am +++ b/src/mesa/drivers/dri/i965/Makefile.am @@ -115,7 +115,7 @@ EXTRA_DIST = \ meson.build brw_oa_metrics.c: brw_oa.py $(i965_oa_xml_FILES) - $(PYTHON2) $(PYTHON_FLAGS) $(srcdir)/brw_oa.py \ + $(PYTHON) $(PYTHON_FLAGS) $(srcdir)/brw_oa.py \ --code=$(builddir)/brw_oa_metrics.c \ --header=$(builddir)/brw_oa_metrics.h \ $(i965_oa_xml_FILES:%=$(srcdir)/%) -- cgit v1.2.3