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:
parent
537220d910
commit
e4afbb3eac
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 \
|
||||
|
Loading…
Reference in New Issue
Block a user