From a637c3c9fe5d512b04e7fbf3957702cef5149be3 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Thu, 3 May 2018 17:56:02 +0200 Subject: src/Makefile.am: Use LIBVERSION variable to set version-info Same as we do in all other osmocom projects, and osmo-release.mk expects that variable name. Change-Id: I9c6ebb9656d6756e8344fd57a246be58b105c419 --- src/Makefile.am | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 940fd0a..8954eae 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,3 +1,6 @@ +# This is _NOT_ the library release version, it's an API version. +# Please read Chapter 6 "Library interface versions" of the libtool documentation before making any modification +LIBVERSION=0:1:0 # src/Makefile.am # lib_LTLIBRARIES = libsmpp34.la @@ -22,7 +25,5 @@ include_HEADERS = \ libsmpp34_la_CFLAGS = @CFLAGS@ -Wall libsmpp34_la_CFLAGS += -D_REENTRANT -DBSD_COMP -D_POSIX_PTHREAD_SEMANTICS libsmpp34_la_INCLUDES = -I. -I.. -libsmpp34_la_LDFLAGS = @LDFLAGS@ -version-info 0:1:0 +libsmpp34_la_LDFLAGS = @LDFLAGS@ -version-info $(LIBVERSION) -no-undefined libsmpp34_la_LDFLAGS += -lrt -lpthread - - -- cgit v1.2.3