meson: Add systemduserunitdir option

Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
Arnaud Rebillout 2018-11-26 13:33:44 +07:00 committed by Arun Raghavan
parent a7b24ed03d
commit fdf3384f24
5 changed files with 17 additions and 7 deletions

View file

@ -29,7 +29,7 @@ executable('pulseaudio',
install: true,
include_directories : [configinc, topinc],
link_with : [libpulsecore, libpulsecommon, libpulse],
dependencies : [ltdl_dep, cap_dep, dbus_dep, systemd_dep],
dependencies : [ltdl_dep, cap_dep, dbus_dep, libsystemd_dep],
c_args : pa_c_args,
)

View file

@ -183,7 +183,7 @@ libpulsecommon = shared_library('pulsecommon-' + pa_version_major_minor,
c_args : [pa_c_args],
install : true,
install_dir : privlibdir,
dependencies : [libm_dep, thread_dep, shm_dep, sndfile_dep, dbus_dep, x11_dep, systemd_dep, glib_dep, gtk_dep, asyncns_dep],
dependencies : [libm_dep, thread_dep, shm_dep, sndfile_dep, dbus_dep, x11_dep, libsystemd_dep, glib_dep, gtk_dep, asyncns_dep],
implicit_include_directories : false)
libpulsecommon_dep = declare_dependency(link_with: libpulsecommon)

View file

@ -176,9 +176,9 @@ if openssl_dep.found()
endif
endif
if systemd_dep.found()
if libsystemd_dep.found()
all_modules += [
[ 'module-systemd-login', 'module-systemd-login.c', [], [], [systemd_dep] ],
[ 'module-systemd-login', 'module-systemd-login.c', [], [], [libsystemd_dep] ],
]
endif