From: Tim-Philipp Müller Date: Fri, 7 Jul 2017 10:59:41 +0000 (+0100) Subject: meson: find python3 via python3 module X-Git-Tag: 1.19.3~499^2~237 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eb2f674abba1cb9e4c7601b6b360cc04c3f06fe5;p=platform%2Fupstream%2Fgstreamer.git meson: find python3 via python3 module https://bugzilla.gnome.org/show_bug.cgi?id=783198 --- 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")')