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:
Josh Triplett 2013-04-18 11:32:26 -07:00 committed by Kay Sievers
parent b030d1f864
commit 4befe2eba0

View file

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