From daa2db6a23e41373a39827c88c2a011479f014cb Mon Sep 17 00:00:00 2001 From: Joe Baldino Date: Thu, 28 Jul 2022 05:36:11 +0000 Subject: [PATCH] meson: replace deprecated get_pkgconfig_variable() Apparently that function was deprecated in 0.56, so use the generic getter introduced in 0.51 instead. This squashes a warning. Signed-off-by: Joe Baldino Signed-off-by: Allan McRae --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 1519a2bb..6ea97672 100644 --- a/meson.build +++ b/meson.build @@ -43,7 +43,7 @@ endif bashcompletion = dependency('bash-completion', required : false) if bashcompletion.found() - BASHCOMPDIR = bashcompletion.get_pkgconfig_variable('completionsdir') + BASHCOMPDIR = bashcompletion.get_variable(pkgconfig: 'completionsdir') else BASHCOMPDIR = join_paths(DATAROOTDIR, 'bash-completion/completions') endif