export macros for tp-qt-service are wrong / should tp-qt-service be separate?
Submitted by George Kiagiadakis
Assigned to Telepathy bugs list
Description
tp-qt-service is a library that started out as static, because we weren't sure if we wanted to break the API/ABI while we were experimenting with its first code.
Later on, due to distribution demand, it became a shared library, with soname management. However, the initial plan was to keep this inside the same library as the client-side API, which is why all the export macros are TP_QT_EXPORT. This macro is wrong to be used in two different shared libraries, as that wouldn't link on certain systems (basically, Windows).
The solution is to add a new export macro, though question remains if we want to keep this as a separate library instead of merging it into tp-qt. I think I would prefer merging it.