From 249b2fb4b11c42e1be95a45d51ce68eba25f0228 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 21 Oct 2025 13:19:58 -0700 Subject: [PATCH] meson: avoid deprecated get_pkgconfig_variable Signed-off-by: Rosen Penev --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 5f80831a7..6f856a949 100644 --- a/meson.build +++ b/meson.build @@ -123,7 +123,7 @@ bashcompletiondir = get_option('bashcompletiondir') if bashcompletiondir == '' bash_completion_dep = dependency('bash-completion', required : false) if bash_completion_dep.found() - bashcompletiondir = bash_completion_dep.get_pkgconfig_variable('completionsdir') + bashcompletiondir = bash_completion_dep.get_variable(pkgconfig : 'completionsdir') else bashcompletiondir = join_paths(datadir, 'bash-completion', 'completions') endif @@ -733,7 +733,7 @@ if get_option('daemon') systemd_dep = dependency('systemd', required : get_option('systemd')) if systemd_dep.found() and systemduserunitdir == '' - systemduserunitdir = systemd_dep.get_pkgconfig_variable('systemduserunitdir') + systemduserunitdir = systemd_dep.get_variable(pkgconfig: 'systemduserunitdir') endif libelogind_dep = dependency('libelogind', required : get_option('elogind'))