aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-05-03 17:56:02 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-05-03 17:56:05 +0200
commita637c3c9fe5d512b04e7fbf3957702cef5149be3 (patch)
tree834f34129fd4b01d1b404274a028cdf54e1212d6
parent0cad3b4538710a91881ddbb80424c2d7c62de962 (diff)
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
-rw-r--r--src/Makefile.am7
1 files 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
-
-