Skip to content

Commit

Permalink
Drop fallback for libsystemd-login
Browse files Browse the repository at this point in the history
libsystemd-login is long gone. It was deprecated in v209 (2014) and the
compat library was finally removed in v230 (2016).
  • Loading branch information
mbiebl authored and jrybar-rh committed Mar 19, 2024
1 parent efa615e commit 00e68f4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,7 @@ session_tracking = get_option('session_tracking')
enable_logind = (session_tracking != 'ConsoleKit')
if enable_logind
if session_tracking == 'logind'
logind_dep = dependency('libsystemd', required: false)
if not logind_dep.found()
logind_dep = dependency('libsystemd-login', not_found_message: 'logind support requested but libsystemd or libsystemd-login library not found')
endif
logind_dep = dependency('libsystemd', not_found_message: 'logind support requested but libsystemd library not found')
else
logind_dep = dependency('libelogind', not_found_message: 'elogind support requested but libelogind library not found')
endif
Expand Down

0 comments on commit 00e68f4

Please sign in to comment.