diff --git a/meson.build b/meson.build index 13a72717cf..b958c6cd9c 100644 --- a/meson.build +++ b/meson.build @@ -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")')