1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-11 09:18:07 +03:00

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.
This commit is contained in:
Marcel Holtmann 2013-12-01 12:28:32 -08:00
parent 537220d910
commit e4afbb3eac

View File

@ -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 \