[Bug 43224] Add libs config to -pc.in

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Nov 24 18:56:07 CET 2011


https://bugs.freedesktop.org/show_bug.cgi?id=43224

--- Comment #1 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2011-11-24 09:56:07 PST ---
This is wrong in most cases. Normally, telepathy-gabble is an executable, its
plugins have unresolved symbols, and it's actively harmful to link against the
libtool convenience library (you'd have an entire duplicate copy of Gabble in
the plugin!)

Because you're building Gabble on Android as some sort of library, things are a
bit weird for you. If possible, I think the right answer is to just leave the
plugin with unresolved symbols - when it gets dlopen()'d, the right thing
should happen, because ELF binaries are a flat global namespace. (Or does
Android not use ELF?)

If you really need the insides of Gabble to be a library, the right way to do
this is to make it (or at least the parts of it needed by plugins) a proper
shared library (probably with -release versioning to reflect that it breaks ABI
frequently) under all circumstances, and link both Gabble-the-program and the
plugins against this library. Mission Control does this somewhat right.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list