From: Tim-Philipp Müller Date: Fri, 7 Jul 2017 10:58:36 +0000 (+0100) Subject: meson: find python3 via python3 module X-Git-Tag: 1.19.3~505^2~190 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=121e8e62106b6b791744dbbfec866f7c811db126;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 145bdfe..3361dbc 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")')