[PATCH] libsmpp34[master]: src/Makefile.am: Use LIBVERSION variable to set version-info

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Thu May 3 16:05:00 UTC 2018


Review at  https://gerrit.osmocom.org/8010

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
---
M src/Makefile.am
1 file changed, 4 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libsmpp34 refs/changes/10/8010/1

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 @@
 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
-
-

-- 
To view, visit https://gerrit.osmocom.org/8010
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9c6ebb9656d6756e8344fd57a246be58b105c419
Gerrit-PatchSet: 1
Gerrit-Project: libsmpp34
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list