meson: use new 'python' module instead of deprecated 'python3' one
authorTim-Philipp Müller <tim@centricular.com>
Mon, 8 Oct 2018 19:53:17 +0000 (20:53 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 8 Oct 2018 19:53:47 +0000 (20:53 +0100)
https://github.com/mesonbuild/meson/pull/4169

meson.build

index b36a32d..907abe8 100644 (file)
@@ -515,7 +515,7 @@ gst_plugins_bad_args = ['-DHAVE_CONFIG_H']
 configinc = include_directories('.')
 libsinc = include_directories('gst-libs')
 
-python3 = import('python3').find_python()
+python3 = import('python').find_installation()
 
 gir = find_program('g-ir-scanner', required : get_option('introspection'))
 gnome = import('gnome')