diff mbox

[06/11] helper/Makefile: add SO-version to helper lib

Message ID 1458305959-26825-7-git-send-email-anders.roxell@linaro.org
State Accepted
Commit 7c958f590d58f04f6d8a83a3bbdfa8bb0075a857
Headers show

Commit Message

Anders Roxell March 18, 2016, 12:59 p.m. UTC
Packaging require a shared object version number.
For now make it the same as libodp.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 helper/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

Comments

Ricardo Salveti March 22, 2016, 9:43 p.m. UTC | #1
On Fri, Mar 18, 2016 at 9:59 AM, Anders Roxell <anders.roxell@linaro.org> wrote:
> Packaging require a shared object version number.
> For now make it the same as libodp.
>
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> ---
>  helper/Makefile.am | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/helper/Makefile.am b/helper/Makefile.am
> index f9b509f..8a86eb7 100644
> --- a/helper/Makefile.am
> +++ b/helper/Makefile.am
> @@ -8,6 +8,8 @@ AM_CFLAGS  = -I$(srcdir)/include
>  AM_CFLAGS += -I$(top_srcdir)/platform/@with_platform@/include
>  AM_CFLAGS += -I$(top_srcdir)/include
>
> +AM_LDFLAGS += -version-number '$(ODP_LIBSO_VERSION)'
> +
>  helperincludedir = $(includedir)/odp/helper/
>  helperinclude_HEADERS = \
>                   $(srcdir)/include/odp/helper/linux.h \
> --
> 2.1.4

Reviewed-by: Ricardo Salveti <ricardo.salveti@linaro.org>
diff mbox

Patch

diff --git a/helper/Makefile.am b/helper/Makefile.am
index f9b509f..8a86eb7 100644
--- a/helper/Makefile.am
+++ b/helper/Makefile.am
@@ -8,6 +8,8 @@  AM_CFLAGS  = -I$(srcdir)/include
 AM_CFLAGS += -I$(top_srcdir)/platform/@with_platform@/include
 AM_CFLAGS += -I$(top_srcdir)/include
 
+AM_LDFLAGS += -version-number '$(ODP_LIBSO_VERSION)'
+
 helperincludedir = $(includedir)/odp/helper/
 helperinclude_HEADERS = \
 		  $(srcdir)/include/odp/helper/linux.h \