Bump liblttng-ust-ctl lib version major number
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 20 Dec 2012 17:32:15 +0000 (12:32 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 20 Dec 2012 17:32:15 +0000 (12:32 -0500)
This internal library between ust and tools has had its ABI changed
between 2.0 and 2.1.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
configure.ac
liblttng-ust-ctl/Makefile.am

index 696a64e25f65308216f7d02a5c368a5e103f427b..0066a6673143459a8cbfae7b82145ca0e7c3cf8d 100644 (file)
@@ -5,10 +5,15 @@ AC_INIT([lttng-ust],[2.1.0-rc2],[mathieu dot desnoyers at efficios dot com])
 
 # Following the numbering scheme proposed by libtool for the library version
 # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
+# This is the library version of liblttng-ust.
 AC_SUBST([LTTNG_UST_LIBRARY_VERSION], [0:0:0])
 # note: remember to update tracepoint.h dlopen() to match this version
 # number. TODO: eventually automate by exporting the major number.
 
+# This is the library version of liblttng-ust-ctl, used internally by
+# liblttng-ust, lttng-sessiond, and lttng-consumerd.
+AC_SUBST([LTTNG_UST_CTL_LIBRARY_VERSION], [1:0:0])
+
 AC_CONFIG_AUX_DIR([config])
 AC_CANONICAL_TARGET
 AC_CANONICAL_HOST
index 1a57fef86ff3c72fcd534d7ba5ec6b5c3e49ca02..42aee69909a0a7df1c334e275684ca743bceba63 100644 (file)
@@ -4,6 +4,8 @@ AM_CFLAGS = -fno-strict-aliasing
 lib_LTLIBRARIES = liblttng-ust-ctl.la
 
 liblttng_ust_ctl_la_SOURCES = ustctl.c
+liblttng_ust_ctl_la_LDFLAGS = \
+       -version-info $(LTTNG_UST_CTL_LIBRARY_VERSION)
 
 liblttng_ust_ctl_la_LIBADD = \
        $(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \
This page took 0.025416 seconds and 4 git commands to generate.