Commit f934051c4d17d167bd8e46dd3c70a745e26fd2eb broke the build because it made libsystemd-shared call sd_listen_fds() which is defined in libsystemd-daemon.
This is a bit of a contortion because libsystemd-shared.la is a noinst_LTLIBRARY, but libtool should do the right thing here and emit DT_NEEDED on libsystemd-daemon.so for things that consume libsystemd-shared.la. --- Makefile.am | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
>From 48b53bdd07f39b9824868404a8178192fc82cde1 Mon Sep 17 00:00:00 2001 From: Colin Walters <[email protected]> Date: Sun, 23 Dec 2012 10:18:21 -0500 Subject: [PATCH] build-sys: Make libsystemd-shared link to libsystemd-daemon Commit f934051c4d17d167bd8e46dd3c70a745e26fd2eb broke the build because it made libsystemd-shared call sd_listen_fds() which is defined in libsystemd-daemon. This is a bit of a contortion because libsystemd-shared.la is a noinst_LTLIBRARY, but libtool should do the right thing here and emit DT_NEEDED on libsystemd-daemon.so for things that consume libsystemd-shared.la. --- Makefile.am | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/Makefile.am b/Makefile.am index 165b85d..163a180 100644 --- a/Makefile.am +++ b/Makefile.am @@ -849,6 +849,8 @@ libsystemd_shared_la_SOURCES = \ src/shared/calendarspec.c \ src/shared/calendarspec.h +libsystemd_shared_la_LIBADD = libsystemd-daemon.la + #------------------------------------------------------------------------------- noinst_LTLIBRARIES += \ libsystemd-dbus.la -- 1.7.1
_______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
