blob: a10026f3346641612c5d36b627958d898ee8ff10 (
plain) (
tree)
|
|
--- fprintd-v1.90.8/meson.build.orig 2020-12-13 08:08:13.886367478 +0100
+++ fprintd-v1.90.8/meson.build 2020-12-13 08:30:16.056756878 +0100
@@ -84,7 +84,7 @@
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',
--- fprintd-v1.90.8/meson_options.txt.orig 2020-12-13 08:08:13.886367478 +0100
+++ fprintd-v1.90.8/meson_options.txt 2020-12-13 08:26:57.111919403 +0100
@@ -10,6 +10,10 @@
description: 'Install system service files',
type: 'boolean',
value: true)
+option('libsystemd',
+ description: 'Libsystemd provider (libsystemd or libelogind)',
+ type: 'string',
+ value: 'libsystemd')
option('systemd_system_unit_dir',
description: 'Directory for systemd service files',
type: 'string')
|