Re: Splitting up a library without breaking ABI?

Le mardi 23 août 2011 à 10:20 +0200, Stef Walter a écrit : 
> Is there a way to split a library into two without breaking ABI?
> The current pkg-config file library is Would it work to
> have depend on the two new libraries (eg:,

What I have already seen working is keeping some of the
symbols, depending on with the others. But I don’t see
a reason why it wouldn’t work at the moment.

And I really mean “at the moment”; in the future the dynamic linker
might stop automatically looking for symbols in indirect dependencies,
since AFAIK it is not part of its specification to do so.

> Or is this just not worth it, and I'll just worry about preserving API
> backwards compatibility in such a split and not ABI?

Given the low number of affected packages, you might not want to bother.

 .''`.      Josselin Mouette
: :' :
`. `'

Attachment: signature.asc
Description: This is a digitally signed message part

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]