From b4aff10ac08ceaf66049507aa4d5624b65e97e79 Mon Sep 17 00:00:00 2001 From: nikstur Date: Wed, 27 May 2026 00:45:18 +0200 Subject: [PATCH] meson: fix building without logind (#42324) Otherwise you cannot build systemd (e.g. just the libs) without logind. Follow-up for 1f9fb6300b3294904e430ba78dd6c9a0fbf301fe --- src/test/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/meson.build b/src/test/meson.build index 490b9b7d0dc..ca2c96e94d8 100644 --- a/src/test/meson.build +++ b/src/test/meson.build @@ -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'), -- 2.47.3