[CRIU] [PATCH] Makefile: add soname to libcriu.so

Cyrill Gorcunov gorcunov at gmail.com
Wed Feb 5 07:01:14 PST 2014


On Wed, Feb 05, 2014 at 03:51:55PM +0100, Adrian Reber wrote:
> > > +VERSION_SO_MAJOR	:= 1
> > > +VERSION_SO_MINOR	:= 0
> > 
> > Why VERSION_MAJOR + VERSION_MINOR is not enough?
> 
> This really depends on the versioning scheme of criu. The soname only
> needs to change if the ABI is changed. If the developers of criu can
> guarantee that the ABI will not change as long as criu stays at version
> 1.x and will change once the version goes to 2.x then VERSION_MAJOR can
> be used. For now it would be possible to still use VERSION_MAJOR. I used
> VERSION_SO_MAJOR and VERSION_SO_MINOR to make clear that the soname
> versioning is independent of criu's version number. It can, of course,
> use VERSION_MAJOR and VERSION_MINOR and only if necessary be changed to
> different numbers in the future.

I think we're not going to change ABI of library without changing major
number of criu itself. Pavel?


More information about the CRIU mailing list