From eb2f674abba1cb9e4c7601b6b360cc04c3f06fe5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 7 Jul 2017 11:59:41 +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 32cc028..dfb23d1 100644 --- a/meson.build +++ b/meson.build @@ -119,5 +119,5 @@ configinc = include_directories('.') plugins_install_dir = '@0@/gstreamer-1.0'.format(get_option('libdir')) subdir('ext/libav/') -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")') -- 2.7.4