summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-02-07 13:47:46 +0100
committerKay Sievers <kay@vrfy.org>2013-02-07 14:35:20 +0100
commit8d81eb8e248da6d4d5667afc25db05bce880dcbd (patch)
tree6121fbd0634cad467e52474eac4edd654913ede2 /Makefile.am
parent78c55e2155b2badad23c3dc255fdc5b7823dda1a (diff)
build-sys: at least for now, never link libudev against systemd's shared libraries
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 8f44f5d903..ad69ee3870 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -622,8 +622,6 @@ libsystemd_shared_la_SOURCES = \
src/shared/calendarspec.h \
src/shared/output-mode.h
-libsystemd_shared_la_LIBADD = libsystemd-daemon.la
-
#-------------------------------------------------------------------------------
noinst_LTLIBRARIES += \
libsystemd-dbus.la
@@ -1519,6 +1517,9 @@ systemd_tty_ask_password_agent_LDADD = \
libsystemd_daemon_la_SOURCES = \
src/libsystemd-daemon/sd-daemon.c
+libsystemd_daemon_internal_la_SOURCES = \
+ $(libsystemd_daemon_la_SOURCES)
+
libsystemd_daemon_la_CFLAGS = \
$(AM_CFLAGS) \
-fvisibility=hidden \
@@ -1546,6 +1547,9 @@ UNINSTALL_EXEC_HOOKS += libsystemd-daemon-uninstall-hook
lib_LTLIBRARIES += \
libsystemd-daemon.la
+noinst_LTLIBRARIES += \
+ libsystemd-daemon-internal.la
+
pkgconfiglib_DATA += \
src/libsystemd-daemon/libsystemd-daemon.pc
@@ -1588,7 +1592,8 @@ libudev_la_LDFLAGS = \
libudev_la_LIBADD = \
libsystemd-shared.la \
- libsystemd-id128.la
+ libsystemd-daemon-internal.la \
+ libsystemd-id128-internal.la
pkgconfiglib_DATA += \
src/libudev/libudev.pc