meson: don't bother trying `python2`
[mesa.git] / 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',