aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/meson.build9
1 files changed, 2 insertions, 7 deletions
diff --git a/backend/meson.build b/backend/meson.build
index 52abe64d..48a0511a 100644
--- a/backend/meson.build
+++ b/backend/meson.build
@@ -44,9 +44,9 @@ else
backend_files += files('session/direct.c')
endif
-if conf_data.get('WLR_HAS_SYSTEMD', false)
+if logind.found()
backend_files += files('session/logind.c')
- backend_deps += systemd
+ backend_deps += logind
endif
if conf_data.get('WLR_HAS_X11_BACKEND', false)
@@ -58,11 +58,6 @@ if conf_data.get('WLR_HAS_X11_BACKEND', false)
backend_deps += xcb_xkb
endif
-if conf_data.get('WLR_HAS_ELOGIND', false)
- backend_files += files('session/logind.c')
- backend_deps += elogind
-endif
-
lib_wlr_backend = static_library(
'wlr_backend',
backend_files,