summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2018-10-08 20:45:52 +0100
committerTim-Philipp Müller <tim@centricular.com>2018-10-08 20:45:52 +0100
commitdac16a0f6ac1e7714c6fe634049a545ebb0a7b66 (patch)
tree7374a75cf7102af69d609c80e3b670339470947c
parent908c36eceb1814f990e98898273045c7236dcf47 (diff)
meson: use new 'python' module instead of deprecated
https://github.com/mesonbuild/meson/pull/4169
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 7f786e91..6f7cbeda 100644
--- a/meson.build
+++ b/meson.build
@@ -257,5 +257,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")')