aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Baldino <pedanticdm@gmx.us>2022-07-28 05:36:11 +0000
committerAllan McRae <allan@archlinux.org>2022-07-29 09:41:47 +1000
commitdaa2db6a23e41373a39827c88c2a011479f014cb (patch)
tree121289d2792c2fc961682e611ffd2da6cf697ba2
parentff7c6c8e570bcf5e07876397af864adf8cbf2987 (diff)
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 <pedanticdm@gmx.us> Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
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