summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2018-10-08 01:07:45 +0100
committerTim-Philipp Müller <tim@centricular.com>2018-10-08 01:07:45 +0100
commit1b9ed134d1e27d5f443753aa27d28d68b5bd4175 (patch)
tree18ef602237c2c832b4e129a15686d1f8fe470902
parent85c484a510cdfb4dc0cd820419b3840f45825e2c (diff)
downloadgst-plugins-base-1b9ed134d1e27d5f443753aa27d28d68b5bd4175.tar.gz
gst-plugins-base-1b9ed134d1e27d5f443753aa27d28d68b5bd4175.tar.xz
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 d1c31a62a..adb04b9bd 100644
--- a/meson.build
+++ b/meson.build
@@ -401,5 +401,5 @@ endif
# Use core_conf after all subdirs have set values
configure_file(output : 'config.h', configuration : core_conf)
-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")')