meson: use new 'python' module instead of deprecated 'python3' one

https://github.com/mesonbuild/meson/pull/4169
This commit is contained in:
Tim-Philipp Müller 2018-10-08 20:55:08 +01:00
parent 50311411f4
commit f749504848

View file

@ -182,5 +182,5 @@ configinc = include_directories('.')
plugins_install_dir = '@0@/gstreamer-1.0'.format(get_option('libdir'))
subdir('ext/libav/')
python3 = import('python3').find_python()
python3 = import('python').find_installation()
run_command(python3, '-c', 'import shutil; shutil.copy("hooks/pre-commit.hook", ".git/hooks/pre-commit")')