diff options
author | Emil Velikov <[email protected]> | 2018-08-16 13:59:38 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2018-10-31 19:15:50 +0000 |
commit | 986033a2750c1160a4cef3c8418fc7f9e2b4fb5a (patch) | |
tree | 272f346932d8d545e79213feeab07d610fa3dfbd /src/mesa/drivers/dri | |
parent | 6d7d3dbda531b0bc692ffb479d65527b2138dbf3 (diff) |
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
- python2 chosen prior to python3
v2: use python2 by default
Cc: Ilia Mirkin <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Acked-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/i965/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/Makefile.am b/src/mesa/drivers/dri/i965/Makefile.am index fda17589cfb..3df8cdec320 100644 --- a/src/mesa/drivers/dri/i965/Makefile.am +++ b/src/mesa/drivers/dri/i965/Makefile.am @@ -130,7 +130,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)/%) |