[systemd-commits] Makefile.am

Marcel Holtmann holtmann at kemper.freedesktop.org
Sun Dec 1 12:39:24 PST 2013


 Makefile.am |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

New commits:
commit e4afbb3eac5b20cf2fdf240af1caa576600ce152
Author: Marcel Holtmann <marcel at holtmann.org>
Date:   Sun Dec 1 12:28:32 2013 -0800

    build-sys: allow building systemctl with --disable-logind
    
    When logind is disabled, do not attempt to link against the non-existing
    libsystemd-login-internal.la library.

diff --git a/Makefile.am b/Makefile.am
index a7baea5..0de03fe 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1784,8 +1784,14 @@ systemctl_LDADD = \
 	libsystemd-units.la \
 	libsystemd-label.la \
 	libsystemd-bus-internal.la \
-	libsystemd-logs.la \
-	libsystemd-login-internal.la \
+	libsystemd-logs.la
+
+if ENABLE_LOGIND
+systemctl_LDADD += \
+	libsystemd-login-internal.la
+endif
+
+systemctl_LDADD += \
 	libsystemd-journal-internal.la \
 	libsystemd-id128-internal.la \
 	libsystemd-daemon-internal.la \



More information about the systemd-commits mailing list