meson: fix building without logind (#42324)

Otherwise you cannot build systemd (e.g. just the libs) without logind.

Follow-up for 1f9fb6300b
This commit is contained in:
nikstur
2026-05-26 23:45:18 +01:00
committed by GitHub
parent c63805ad29
commit b4aff10ac0
+1
View File
@@ -498,6 +498,7 @@ executables += [
test_template + {
'sources' : files('test-varlink-idl-login.c'),
'objects' : ['systemd-logind'],
'conditions' : ['ENABLE_LOGIND'],
},
test_template + {
'sources' : files('test-watchdog.c'),