From 2c5fb9f01b13f9216d15c956afb0a2578afeb73c Mon Sep 17 00:00:00 2001 From: Aleksandar Kanchev Date: Tue, 12 Mar 2013 12:20:13 +0100 Subject: [PATCH] add libtool version-info support --- Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile.am b/Makefile.am index 0a42ea5..df0572d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -17,6 +17,11 @@ LDADD = \ lib_LTLIBRARIES = lib_LIBRARIES = +# Library interface (not package version!) +LIBCOMMONAPI_DBUS_CURRENT=2 +LIBCOMMONAPI_DBUS_REVISION=0 +LIBCOMMONAPI_DBUS_AGE=0 + # ------------------------------------------------------------------------------ lib_LTLIBRARIES += libmurmurhash-internal.la @@ -48,6 +53,9 @@ libCommonAPI_DBus_la_SOURCES = \ libCommonAPI_DBus_la_LIBADD = \ libmurmurhash-internal.la \ ${COMMONAPI_LIBS} +libCommonAPI_DBus_la_LDFLAGS = \ + ${AM_LDFLAGS} \ + -version-info ${LIBCOMMONAPI_DBUS_CURRENT}:${LIBCOMMONAPI_DBUS_REVISION}:${LIBCOMMONAPI_DBUS_AGE} CommonAPI_DBus_includedir=$(includedir)/CommonAPI-${VERSION}/CommonAPI/DBus CommonAPI_DBus_include_HEADERS = \ -- 2.7.4