On Thursday 2013-03-07 21:59, Jiri Pirko wrote:
Thu, Mar 07, 2013 at 09:20:07PM CET, jengelh(a)inai.de wrote:
>This ensures that programs linking to a new libteam do not
>accidentally get installed (in distributions with prebuilt packages)
>together with an old libteam when the SONAME is the same for both old
>and new.
The plan is to use -version-info for this. I will adjust it correctly
before every public release (tgz). That means that SONAME will
not be same for old and new lib. Or do I understand that incorrectly?
For some platforms (such as Linux), not all changes to -version-info
cause a definite SONAME change.
You would have to always use "-version-info x:0:0" (with some x),
or, like, "-release ${PACKAGE_VERSION}" (replaces -version-info).
The ulterior goal (in general - for any library) is that compatible
changes such as only-add-functions would not require SONAME changes.
Then again, it's not like SONAME changes were evil.
So, whatever pleases :)