X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=Makefile.am;h=015640f535d8de649b271811d37e00e72893d6db;hp=2d3378e309c58484c19517340aaa061adb0ec99c;hb=e51240886f54e0128b1711c7dd0454b23e3f7d5e;hpb=069cfc85f876bb6966cb5a9bbe0235f5064622cd diff --git a/Makefile.am b/Makefile.am index 2d3378e30..015640f53 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