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>
This commit is contained in:
parent
ff7c6c8e57
commit
daa2db6a23
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue