Revert "build-sys: Remove the public API stuff from libpulsecommon."

This reverts commit 24ff719675.

If these files aren't compiled in both libpulse and
libpulsecommon, some things will try use non-public
functions from libpulse. Therefore those internal functions
have to be included directly in libpulsecommon.

This problem appears to be only visible with --as-needed,
which is why the problem wasn't noticed immediately. The
problem has existed also earlier, and it was fixed by
Maarten Bosmans in commit 2de2c735. The commit that is
now reverted basically reverted Maarten's commit (I didn't
know that when I wrote the bad patch).
This commit is contained in:
Tanu Kaskinen 2012-03-12 09:05:52 +02:00
parent 50a7bf1175
commit bbc600aae9

View file

@ -536,6 +536,14 @@ pkglib_LTLIBRARIES = \
libpulsecommon_@PA_MAJORMINOR@_la_SOURCES = \ libpulsecommon_@PA_MAJORMINOR@_la_SOURCES = \
pulse/client-conf.c pulse/client-conf.h \ pulse/client-conf.c pulse/client-conf.h \
pulse/fork-detect.c pulse/fork-detect.h \ pulse/fork-detect.c pulse/fork-detect.h \
pulse/xmalloc.c pulse/xmalloc.h \
pulse/proplist.c pulse/proplist.h \
pulse/utf8.c pulse/utf8.h \
pulse/channelmap.c pulse/channelmap.h \
pulse/sample.c pulse/sample.h \
pulse/util.c pulse/util.h \
pulse/timeval.c pulse/timeval.h \
pulse/rtclock.c pulse/rtclock.h \
pulsecore/atomic.h \ pulsecore/atomic.h \
pulsecore/authkey.c pulsecore/authkey.h \ pulsecore/authkey.c pulsecore/authkey.h \
pulsecore/conf-parser.c pulsecore/conf-parser.h \ pulsecore/conf-parser.c pulsecore/conf-parser.h \