diff --git a/meson.build b/meson.build index ec0ae529f0..8d7a3e87e2 100644 --- a/meson.build +++ b/meson.build @@ -112,5 +112,5 @@ endif subdir('validate') -python3 = find_program('python3') +python3 = import('python3').find_python() run_command(python3, '-c', 'import shutil; shutil.copy("hooks/multi-pre-commit.hook", ".git/hooks/pre-commit")')