chiark / gitweb /
systemd-logind: Fix linking by reordering libraries in LDADD
authorJosh Triplett <josh@joshtriplett.org>
Thu, 18 Apr 2013 18:32:26 +0000 (11:32 -0700)
committerKay Sievers <kay@vrfy.org>
Thu, 18 Apr 2013 18:33:26 +0000 (20:33 +0200)
commit4befe2eba061fa47cd0c30eff3f8348971e5d088
tree82e069ca2d24a19c50e69050efb5b5cc2acaf665
parentb030d1f86443ba535dd257cb30826b813f291138
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'
Makefile.am