mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-29 01:04:56 +01:00
Replace deprecated get_pkgconfig_variable with get_variable
This commit is contained in:
parent
b76227bb9c
commit
806fa70a7c
1 changed files with 2 additions and 2 deletions
|
@ -72,14 +72,14 @@ fish_completion = configure_file(
|
|||
|
||||
bash_comp = dependency('bash-completion', required: false)
|
||||
if bash_comp.found()
|
||||
bash_compdir = bash_comp.get_pkgconfig_variable('completionsdir')
|
||||
bash_compdir = bash_comp.get_variable(pkgconfig: 'completionsdir')
|
||||
else
|
||||
bash_compdir = join_paths(datadir, 'bash-completion', 'completions')
|
||||
endif
|
||||
|
||||
fish_comp = dependency('fish', required: false)
|
||||
if fish_comp.found()
|
||||
fish_compdir = fish_comp.get_pkgconfig_variable('completionsdir')
|
||||
fish_compdir = fish_comp.get_variable(pkgconfig: 'completionsdir')
|
||||
else
|
||||
fish_compdir = join_paths(datadir, 'fish', 'vendor_completions.d')
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue