meson: don't bother trying python2
Meson requires `python3`, so we know it's there, no need to fall back to python2. Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3701> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3701>
This commit is contained in:

committed by
Marge Bot

parent
4d34abd15c
commit
9595b23a45
@@ -22,7 +22,7 @@ project(
|
|||||||
'mesa',
|
'mesa',
|
||||||
['c', 'cpp'],
|
['c', 'cpp'],
|
||||||
version : run_command(
|
version : run_command(
|
||||||
[find_program('python', 'python2', 'python3'), 'bin/meson_get_version.py']
|
[find_program('python', 'python3'), 'bin/meson_get_version.py']
|
||||||
).stdout(),
|
).stdout(),
|
||||||
license : 'MIT',
|
license : 'MIT',
|
||||||
meson_version : '>= 0.46',
|
meson_version : '>= 0.46',
|
||||||
|
Reference in New Issue
Block a user