summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2012-11-03 11:50:10 +0100
committerArun Raghavan <arun.raghavan@collabora.co.uk>2012-11-03 11:52:58 +0100
commit5cc60fa89784199fad27416d1d3bde0a24e808b1 (patch)
tree4a0d5bf4013ccff1616dbefc7d2ee8ef0e220c85
parentd754b63bcbdab1144443755854fb1eb9e0b50405 (diff)
build-sys: Document libpulsecommon vs. libpulse duplicationv2.99.1
-rw-r--r--src/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index ed6f8e283..cbd7733ad 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -559,6 +559,11 @@ echo_cancel_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
pkglib_LTLIBRARIES = \
libpulsecommon-@PA_MAJORMINOR@.la
+# We duplicate files from pulse/ in this to allow as-needed linking. If we did
+# not do this, in situations where code in libpulsecommon uses code in
+# libpulse, we would then need to link libpulsecommon to libpulse (in addition
+# to the existing libpulse being linked to libpulsecommon). Duplicating the
+# code allows us to prevent this circular linking.
libpulsecommon_@PA_MAJORMINOR@_la_SOURCES = \
pulse/client-conf.c pulse/client-conf.h \
pulse/fork-detect.c pulse/fork-detect.h \