[OE-core] [PATCH] bzip2: set correct soname

Andre McCurdy armccurdy at gmail.com
Tue Apr 5 22:02:50 UTC 2016


On Tue, Apr 5, 2016 at 2:26 PM, Ross Burton <ross.burton at intel.com> wrote:
> The correct name for the bzip2 shared library is libbz2.so.1.0.6, not
> libbz2.so.0.0.0.  Pass -version-info to libtool to correct this.
>
> Also fix the configure.ac so that is doesn't mention libXrender and has the
> right version.
>
> Signed-off-by: Ross Burton <ross.burton at intel.com>
> ---
>  meta/recipes-extended/bzip2/bzip2-1.0.6/Makefile.am  | 1 +
>  meta/recipes-extended/bzip2/bzip2-1.0.6/configure.ac | 5 +----
>  2 files changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/meta/recipes-extended/bzip2/bzip2-1.0.6/Makefile.am b/meta/recipes-extended/bzip2/bzip2-1.0.6/Makefile.am
> index 1d163b6..05d389f 100644
> --- a/meta/recipes-extended/bzip2/bzip2-1.0.6/Makefile.am
> +++ b/meta/recipes-extended/bzip2/bzip2-1.0.6/Makefile.am
> @@ -1,5 +1,6 @@
>
>  lib_LTLIBRARIES = libbz2.la
> +libbz2_la_LDFLAGS = -version-info 1:6:0

1:6:0 or 1:0:6 ?

>
>  libbz2_la_SOURCES = blocksort.c  \
>                      huffman.c    \
> diff --git a/meta/recipes-extended/bzip2/bzip2-1.0.6/configure.ac b/meta/recipes-extended/bzip2/bzip2-1.0.6/configure.ac
> index 47ee576..e2bf1bf 100644
> --- a/meta/recipes-extended/bzip2/bzip2-1.0.6/configure.ac
> +++ b/meta/recipes-extended/bzip2/bzip2-1.0.6/configure.ac
> @@ -1,12 +1,9 @@
>  AC_PREREQ([2.57])
>
> -AC_INIT(bzip2, 2.0.5, , libXrender)
> +AC_INIT(bzip2, 1.0.6)
>  AM_INIT_AUTOMAKE(foreign)
>  AM_MAINTAINER_MODE
>
> -#AM_CONFIG_HEADER(config.h)
> -
> -# Check for progs
>  AC_PROG_CC
>  AC_PROG_LIBTOOL
>
> --
> 2.7.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list