[mythtv] libcec: loader vs. direct linking

Jean-Yves Avenard jyavenard at gmail.com
Mon Jun 4 10:42:56 UTC 2012


On 4 June 2012 19:29, Colin Guthrie <mythtv at colin.guthr.ie> wrote:
> Hi,
>
> Is there a specific reason to use the libcec loader rather than linking
> directly? Support is optional, so I see no real reason to have two
> levels of optional-ness!
>
> The reason I ask is that at present, no directly linking against libcec
> happens and thus when packaging mythtv, no automatic requires are added
> fro linked libraries.

Last I added weak-linking and dynamic linking to one of the myth lib ;
it was quickly reverted as the code wasn't portable.

E.g. you do it differently on mac, windows, linux...

If you find a way to do such thing in a portable manner, I don't see the problem


More information about the mythtv-dev mailing list