summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2013-04-18 11:32:26 -0700
committerKay Sievers <kay@vrfy.org>2013-04-18 20:33:26 +0200
commit4befe2eba061fa47cd0c30eff3f8348971e5d088 (patch)
tree82e069ca2d24a19c50e69050efb5b5cc2acaf665 /Makefile.am
parentb030d1f86443ba535dd257cb30826b813f291138 (diff)
downloadsystemd-4befe2eba061fa47cd0c30eff3f8348971e5d088.tar.gz
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'
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 80d0f1fb8b..a9f72c1e15 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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