From da5024ca8097c9eafb4e0a027c80ae5b597f9fc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 7 Jul 2017 12:01:59 +0100 Subject: [PATCH] meson: find python3 via python3 module https://bugzilla.gnome.org/show_bug.cgi?id=783198 --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")')