meson: find python3 via python3 module
https://bugzilla.gnome.org/show_bug.cgi?id=783198
This commit is contained in:
parent
65406774ae
commit
82e77844c2
@ -277,5 +277,5 @@ endif
|
||||
# Use core_conf after all subdirs have set values
|
||||
configure_file(output : 'config.h', configuration : core_conf)
|
||||
|
||||
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")')
|
||||
|
Loading…
x
Reference in New Issue
Block a user