Revert "build-sys: Remove the public API stuff from libpulsecommon."
authorTanu Kaskinen <tanuk@iki.fi>
Mon, 12 Mar 2012 07:05:52 +0000 (09:05 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Mon, 12 Mar 2012 07:05:52 +0000 (09:05 +0200)
commitbbc600aae9066ece6ed7802319669e3d00bdc095
tree2ea04a703dabd91a02dd2b9363b791f6e5b2867b
parent50a7bf1175eaf07521c00bde8eed2f820e64437f
Revert "build-sys: Remove the public API stuff from libpulsecommon."

This reverts commit 24ff7196753a3273bac34e87bdcf42384f974d45.

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).
src/Makefile.am