diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2017-07-07 11:58:36 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2017-07-07 11:58:36 +0100 |
commit | 121e8e62106b6b791744dbbfec866f7c811db126 (patch) | |
tree | 9e1c89161593ac6e8dfd4a06a627de40e3510881 | |
parent | cd59f39c2c62cab1b2d23830cb108a271812a3c5 (diff) |
meson: find python3 via python3 module
https://bugzilla.gnome.org/show_bug.cgi?id=783198
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 145bdfec..3361dbce 100644 --- a/meson.build +++ b/meson.build @@ -194,5 +194,5 @@ subdir('ext') subdir('tests') subdir('po') -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")') |