fix building with -Dsystemd=auto
and no systemd
This commit is contained in:
@@ -108,9 +108,9 @@ if build_modules
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if build_modules
|
if build_modules
|
||||||
systemd = dependency('systemd', required: get_option('systemd'))
|
systemd = dependency('systemd', required: get_option('systemd') == true)
|
||||||
libsystemd_dep = dependency('libsystemd',required: get_option('systemd'))
|
libsystemd_dep = dependency('libsystemd',required: get_option('systemd') == true)
|
||||||
libelogind_dep = dependency('libelogind', required: get_option('elogind'))
|
libelogind_dep = dependency('libelogind', required: get_option('elogind') == true)
|
||||||
summary({'systemd conf data': systemd.found(),
|
summary({'systemd conf data': systemd.found(),
|
||||||
'libsystemd': libsystemd_dep.found(),
|
'libsystemd': libsystemd_dep.found(),
|
||||||
'libelogind': libelogind_dep.found()}, bool_yn: true)
|
'libelogind': libelogind_dep.found()}, bool_yn: true)
|
||||||
|
Reference in New Issue
Block a user