[systemd-commits] Makefile.am

Kay Sievers kay at kemper.freedesktop.org
Thu Apr 18 11:37:21 PDT 2013


 Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4befe2eba061fa47cd0c30eff3f8348971e5d088
Author: Josh Triplett <josh at joshtriplett.org>
Date:   Thu Apr 18 11:32:26 2013 -0700

    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'

diff --git a/Makefile.am b/Makefile.am
index 80d0f1f..a9f72c1 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



More information about the systemd-commits mailing list