mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
meson: fix builds on platorms without libsystemd
Without this, meson on Solaris exits with: src/daemon/meson.build:138:15: ERROR: Unknown variable "systemd_dep". Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
parent
1cf6d2c62a
commit
e64f8a5e42
1 changed files with 4 additions and 4 deletions
|
|
@ -394,10 +394,10 @@ if libsystemd_dep.found()
|
|||
cdata.set('HAVE_SYSTEMD_DAEMON', 1)
|
||||
cdata.set('HAVE_SYSTEMD_LOGIN', 1)
|
||||
cdata.set('HAVE_SYSTEMD_JOURNAL', 1)
|
||||
systemd_dep = dependency('systemd', required : get_option('systemd'))
|
||||
if systemd_dep.found() and systemduserunitdir == ''
|
||||
systemduserunitdir = systemd_dep.get_pkgconfig_variable('systemduserunitdir')
|
||||
endif
|
||||
endif
|
||||
systemd_dep = dependency('systemd', required : get_option('systemd'))
|
||||
if systemd_dep.found() and systemduserunitdir == ''
|
||||
systemduserunitdir = systemd_dep.get_pkgconfig_variable('systemduserunitdir')
|
||||
endif
|
||||
|
||||
x11_dep = dependency('x11-xcb', required : get_option('x11'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue