mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
meson: avoid deprecated get_pkgconfig_variable
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
a8d7d2f732
commit
b0adc7a482
1 changed files with 2 additions and 2 deletions
|
|
@ -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'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue