meson: find python3 via python3 module

https://bugzilla.gnome.org/show_bug.cgi?id=783198
This commit is contained in:
Tim-Philipp Müller 2017-07-07 12:01:59 +01:00
parent 6ebf7b10ae
commit da5024ca80

View file

@ -125,5 +125,5 @@ subdir('gst-libs')
subdir('gst')
#subdir('tests')
python3 = find_program('python3')
python3 = import('python3').find_python()
run_command(python3, '-c', 'import shutil; shutil.copy("hooks/pre-commit.hook", ".git/hooks/pre-commit")')