Build logind plugin for elogind-enabled systems

This commit is contained in:
Alexey Zapparov 2021-11-03 15:01:29 +01:00 committed by Mario Limonciello
parent e873cf7dd7
commit f6b6d77eed

View File

@ -1,4 +1,4 @@
if get_option('systemd')
if get_option('systemd') or get_option('elogind')
if host_machine.system() != 'linux'
error('linux is required for systemd')
endif