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 committed Mar 16, 2024
1 parent 86e0d43 commit a449d77
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +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')
logind_dep = dependency('libsystemd', not_found_message: 'logind support requested but libsystemd library not found')
endif
else
logind_dep = dependency('libelogind', not_found_message: 'elogind support requested but libelogind library not found')
Expand Down

0 comments on commit a449d77

Please sign in to comment.