summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-05-30 22:25:01 +0200
committerLennart Poettering <lennart@poettering.net>2012-05-30 22:25:01 +0200
commitba1261bc02693ac8a7712ade14aab8e22989ba88 (patch)
tree879e047af8d2e73f96134b44ddfb70135c3f6635 /Makefile.am
parent7c0987d8129e4761d24c21bbc2e5d39731a6b7f0 (diff)
build-sys: fix built with --disable-logind
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 2d3378e309..015640f535 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2083,9 +2083,13 @@ systemd_journald_LDADD = \
libsystemd-shared.la \
libsystemd-audit.la \
libsystemd-daemon.la \
- libsystemd-login.la \
libsystemd-id128.la
+if ENABLE_LOGIND
+systemd_journald_LDADD += \
+ libsystemd-login.la
+endif
+
if HAVE_ACL
systemd_journald_LDADD += \
libsystemd-acl.la
@@ -2263,10 +2267,14 @@ systemd_coredump_SOURCES = \
systemd_coredump_LDADD = \
libsystemd-journal.la \
- libsystemd-login.la \
libsystemd-label.la \
libsystemd-shared.la
+if ENABLE_LOGIND
+systemd_coredump_LDADD += \
+ libsystemd-login.la
+endif
+
rootlibexec_PROGRAMS += \
systemd-coredump