diff options
Diffstat (limited to '')
-rw-r--r-- | meson_options.txt | 6 | ||||
-rw-r--r-- | src/lib/elput/meson.build | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index 296b3b88d8..30eed934a4 100644 --- a/meson_options.txt +++ b/meson_options.txt | |||
@@ -333,3 +333,9 @@ option('native-arch-optimization', | |||
333 | value: true, | 333 | value: true, |
334 | description: 'Flag for enabling architecture native optimizations' | 334 | description: 'Flag for enabling architecture native optimizations' |
335 | ) | 335 | ) |
336 | |||
337 | option('elogind', | ||
338 | type : 'boolean', | ||
339 | value : false, | ||
340 | description : 'use elogind support' | ||
341 | ) | ||
diff --git a/src/lib/elput/meson.build b/src/lib/elput/meson.build index c812ad7759..2aa3590d2b 100644 --- a/src/lib/elput/meson.build +++ b/src/lib/elput/meson.build | |||
@@ -22,6 +22,9 @@ elput_deps += dependency('libudev') | |||
22 | if get_option('systemd') | 22 | if get_option('systemd') |
23 | elput_deps += systemd | 23 | elput_deps += systemd |
24 | endif | 24 | endif |
25 | if get_option('elogind') | ||
26 | elput_deps += dependency('libelogind') | ||
27 | endif | ||
25 | 28 | ||
26 | elput_lib = library('elput', | 29 | elput_lib = library('elput', |
27 | elput_src, pub_eo_file_target, | 30 | elput_src, pub_eo_file_target, |