meson: find python3 via python3 module
https://bugzilla.gnome.org/show_bug.cgi?id=783198
This commit is contained in:
parent
3899b2f6e9
commit
151aa9ee2a
@ -418,5 +418,5 @@ subdir('ext')
|
|||||||
subdir('tests')
|
subdir('tests')
|
||||||
subdir('pkgconfig')
|
subdir('pkgconfig')
|
||||||
|
|
||||||
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")')
|
run_command(python3, '-c', 'import shutil; shutil.copy("hooks/pre-commit.hook", ".git/hooks/pre-commit")')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user