meson: use new 'python' module instead of deprecated
https://github.com/mesonbuild/meson/pull/4169
This commit is contained in:
parent
1a871b1883
commit
fbc7976540
@ -376,5 +376,5 @@ endif
|
||||
|
||||
configure_file(output : 'config.h', configuration : cdata)
|
||||
|
||||
python3 = import('python3').find_python()
|
||||
python3 = import('python').find_installation()
|
||||
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