]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: fix building without logind (#42324)
authornikstur <nikstur@outlook.com>
Tue, 26 May 2026 22:45:18 +0000 (00:45 +0200)
committerGitHub <noreply@github.com>
Tue, 26 May 2026 22:45:18 +0000 (23:45 +0100)
Otherwise you cannot build systemd (e.g. just the libs) without logind.

Follow-up for 1f9fb6300b3294904e430ba78dd6c9a0fbf301fe

src/test/meson.build

index 490b9b7d0dcde4c05578d2dd7621eb0d638b0de7..ca2c96e94d85668561c371f88c07f779c9167e03 100644 (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'),