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

Cyrill Gorcunov gorcunov at gmail.com
Wed Feb 5 06:38:50 PST 2014


On Wed, Feb 05, 2014 at 03:28:17PM +0100, Adrian Reber wrote:
> 
> Using a soname makes it easy for applications to
> detect if the ABI of libcriu.so has changed.
> It still creates libcriu.so as before in lib. During
> 'make install' additional links are created:
> 
>  libcriu.so -> libcriu.so.1.0
>  libcriu.so.1 -> libcriu.so.1.0
> 
> Signed-off-by: Adrian Reber <adrian at lisas.de>
> ---
>  Makefile     | 15 ++++++++++++---
>  lib/Makefile |  4 ++--
>  2 files changed, 14 insertions(+), 5 deletions(-)
> 
> diff --git a/Makefile b/Makefile
> index 985b8c9..9ed45bd 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -3,8 +3,11 @@ VERSION_MINOR		:= 1
>  VERSION_SUBLEVEL	:=
>  VERSION_EXTRA		:=
>  VERSION_NAME		:=
> +VERSION_SO_MAJOR	:= 1
> +VERSION_SO_MINOR	:= 0

Why VERSION_MAJOR + VERSION_MINOR is not enough?


More information about the CRIU mailing list