systemd-logind: Fix linking by reordering libraries in LDADD
libsystemd-audit needs functions from libsystemd-shared, so libsystemd-audit needs to appear first. Otherwise: CCLD systemd-logind ./.libs/libsystemd-audit.a(audit.o): In function `audit_session_from_pid': /home/josh/src/systemd/src/shared/audit.c:50: undefined reference to `detect_container'
This commit is contained in:
parent
b030d1f864
commit
4befe2eba0
|
@ -3467,8 +3467,8 @@ systemd_logind_CFLAGS = \
|
|||
|
||||
systemd_logind_LDADD = \
|
||||
libsystemd-label.la \
|
||||
libsystemd-shared.la \
|
||||
libsystemd-audit.la \
|
||||
libsystemd-shared.la \
|
||||
libsystemd-daemon.la \
|
||||
libsystemd-dbus.la \
|
||||
libudev.la
|
||||
|
|
Loading…
Reference in a new issue