Mesa (master): meson: don't bother trying `python2`

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Feb 5 23:53:49 UTC 2020


Module: Mesa
Branch: master
Commit: 9595b23a45a6bcb7ee784e2c38085a8ea2e4620a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9595b23a45a6bcb7ee784e2c38085a8ea2e4620a

Author: Eric Engestrom <eric at engestrom.ch>
Date:   Sun Feb  2 15:29:08 2020 +0000

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 at engestrom.ch>
Reviewed-by: Dylan Baker <dylan at 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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index c48945b3c48..9d9f3031e90 100644
--- a/meson.build
+++ b/meson.build
@@ -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',



More information about the mesa-commit mailing list