meson: use new 'python' module instead of deprecated 'python3' one
authorTim-Philipp Müller <tim@centricular.com>
Sun, 7 Oct 2018 18:51:41 +0000 (19:51 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 7 Oct 2018 18:58:47 +0000 (19:58 +0100)
https://github.com/mesonbuild/meson/pull/4169

meson.build

index 6e8b348..f4c3a8c 100644 (file)
@@ -470,7 +470,7 @@ if get_option('default_library') == 'static'
 endif
 
 # Used in gst/parse/meson.build and below
-python3 = import('python3').find_python()
+python3 = import('python').find_installation()
 
 bashcomp_option = get_option('bash-completion')
 bashcomp_dep = dependency('bash-completion', version : '>= 2.0', required : bashcomp_option)