path: root/gtp
diff options
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2017-01-24 17:21:05 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2017-01-26 11:14:59 +0100
commit68d244d3022d41a170f83ddec5050d659aef0bcd (patch)
treeb0d328cfdb63becca04abc8191fcbcfe26157415 /gtp
parent7716860845b2426d94eadbc652034a91bc5d7dd1 (diff)
abi/debian: Bump ABI version of libgtp after struct size change
The gsn_t changed the size with the addition of the ctrl pointer. Bump the SO version to not break osmo-sgsn/ggsn on upgrade. Call the -dev package libgtp-dev to follow the rest of Osmocom and to ease making releases here. Change-Id: Iac4d6d2effde1a6b2f60b1e1b49c91513d5ca8c3
Diffstat (limited to 'gtp')
1 files changed, 5 insertions, 0 deletions
diff --git a/gtp/Makefile.am b/gtp/Makefile.am
index 9586dfe..32025d6 100644
--- a/gtp/Makefile.am
+++ b/gtp/Makefile.am
@@ -1,3 +1,7 @@
+# This is _NOT_ the library release version, it's an API version.
+# Please read chapter "Library interface versions" of the libtool documentation
+# before making any modifications: https://www.gnu.org/software/libtool/manual/html_node/Versioning.html
lib_LTLIBRARIES = libgtp.la
include_HEADERS = gtp.h pdp.h gtpie.h
@@ -5,6 +9,7 @@ include_HEADERS = gtp.h pdp.h gtpie.h
AM_CFLAGS = -O2 -fno-builtin -Wall -DSBINDIR='"$(sbindir)"' -ggdb $(LIBOSMOCORE_CFLAGS)
libgtp_la_SOURCES = gtp.c gtp.h gtpie.c gtpie.h pdp.c pdp.h lookupa.c lookupa.h queue.c queue.h
+libgtp_la_LDFLAGS = -version-info $(LIBVERSION) -no-undefined