diff --git a/src/test/meson.build b/src/test/meson.build index 490b9b7d0d..ca2c96e94d 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'),