meson: don't bother trying `python2`
authorEric Engestrom <eric@engestrom.ch>
Sun, 2 Feb 2020 15:29:08 +0000 (15:29 +0000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 5 Feb 2020 23:17:26 +0000 (23:17 +0000)
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>

meson.build

index c48945b3c48d2204d9cb3ceb50e0b27f89f336d1..9d9f3031e9068ac413d5402adb66d2dc295fc00c 100644 (file)
@@ -22,7 +22,7 @@ project(
   'mesa',
   ['c', 'cpp'],
   version : run_command(
-    [find_program('python', 'python2', 'python3'), 'bin/meson_get_version.py']
+    [find_program('python', 'python3'), 'bin/meson_get_version.py']
   ).stdout(),
   license : 'MIT',
   meson_version : '>= 0.46',