mirror of
https://gitlab.freedesktop.org/libfprint/fprintd.git
synced 2026-05-08 13:38:03 +02:00
meson: Add option to use libelogind for DBus
Co-authored-by: Matthew Thode <prometheanfire@gentoo.org> Co-authored-by: Fabio Bas <fabio.bas@officineinformatiche.net>
This commit is contained in:
parent
27b618a93e
commit
1be0810b69
2 changed files with 6 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ gmodule_dep = dependency('gmodule-2.0', version: '>=' + glib_min_version)
|
|||
libfprint_dep = dependency('libfprint-2', version: '>=' + libfprint_min_version)
|
||||
polkit_gobject_dep = dependency('polkit-gobject-1', version: '>= 0.91')
|
||||
dbus_dep = dependency('dbus-1', required: false)
|
||||
libsystemd_dep = dependency('libsystemd', required: get_option('pam'))
|
||||
libsystemd_dep = dependency(get_option('libsystemd'), required: get_option('pam'))
|
||||
pam_dep = cc.find_library('pam',
|
||||
required: get_option('pam'),
|
||||
has_headers: 'security/pam_modules.h',
|
||||
|
|
|
|||
|
|
@ -10,6 +10,11 @@ option('systemd',
|
|||
description: 'Install system service files',
|
||||
type: 'boolean',
|
||||
value: true)
|
||||
option('libsystemd',
|
||||
description: 'Libsystemd provider (libsystemd or libelogind)',
|
||||
type: 'combo',
|
||||
choices: [ 'libsystemd', 'libelogind' ],
|
||||
value: 'libsystemd')
|
||||
option('systemd_system_unit_dir',
|
||||
description: 'Directory for systemd service files',
|
||||
type: 'string')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue