build-sys: Make libsystemd-shared link to libsystemd-daemon
Commit f934051c4d 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.
This commit is contained in:
committed by
Kay Sievers
parent
c96cb78f48
commit
81dc4bde12
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user