Merge branch 'cherry-pick-255fa26b' into 'glib-2-72'

[cherry-pick 2.72] build: Let Meson figure out Python installation

See merge request GNOME/glib!2929
This commit is contained in:
Georges Basile Stavracas Neto 2022-10-12 14:21:32 +00:00
commit df957c273c

View File

@ -2282,7 +2282,7 @@ endif
glib_conf.set('HAVE_PROC_SELF_CMDLINE', have_proc_self_cmdline) glib_conf.set('HAVE_PROC_SELF_CMDLINE', have_proc_self_cmdline)
python = import('python').find_installation('python3') python = import('python').find_installation()
# used for '#!/usr/bin/env <name>' # used for '#!/usr/bin/env <name>'
python_name = 'python3' python_name = 'python3'