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
This commit is contained in:
parent
0cad3b4538
commit
a637c3c9fe
|
@ -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 #
|
# src/Makefile.am #
|
||||||
lib_LTLIBRARIES = libsmpp34.la
|
lib_LTLIBRARIES = libsmpp34.la
|
||||||
|
@ -22,7 +25,5 @@ include_HEADERS = \
|
||||||
libsmpp34_la_CFLAGS = @CFLAGS@ -Wall
|
libsmpp34_la_CFLAGS = @CFLAGS@ -Wall
|
||||||
libsmpp34_la_CFLAGS += -D_REENTRANT -DBSD_COMP -D_POSIX_PTHREAD_SEMANTICS
|
libsmpp34_la_CFLAGS += -D_REENTRANT -DBSD_COMP -D_POSIX_PTHREAD_SEMANTICS
|
||||||
libsmpp34_la_INCLUDES = -I. -I..
|
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
|
libsmpp34_la_LDFLAGS += -lrt -lpthread
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue