elput: Add elogind as meson option
This commit is contained in:
parent
d842aed313
commit
422960b0e6
|
@ -333,3 +333,9 @@ option('native-arch-optimization',
|
||||||
value: true,
|
value: true,
|
||||||
description: 'Flag for enabling architecture native optimizations'
|
description: 'Flag for enabling architecture native optimizations'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
option('elogind',
|
||||||
|
type : 'boolean',
|
||||||
|
value : false,
|
||||||
|
description : 'use elogind support'
|
||||||
|
)
|
||||||
|
|
|
@ -22,6 +22,9 @@ elput_deps += dependency('libudev')
|
||||||
if get_option('systemd')
|
if get_option('systemd')
|
||||||
elput_deps += systemd
|
elput_deps += systemd
|
||||||
endif
|
endif
|
||||||
|
if get_option('elogind')
|
||||||
|
elput_deps += dependency('libelogind')
|
||||||
|
endif
|
||||||
|
|
||||||
elput_lib = library('elput',
|
elput_lib = library('elput',
|
||||||
elput_src, pub_eo_file_target,
|
elput_src, pub_eo_file_target,
|
||||||
|
|
Loading…
Reference in New Issue