mirror of
https://github.com/systemd/systemd.git
synced 2026-08-03 22:50:29 +00: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:
10
Makefile.am
10
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 \
|
||||
|
||||
Reference in New Issue
Block a user