Add version info for gpgmepp
authorAndre Heinecke <aheinecke@intevation.de>
Wed, 2 Mar 2016 17:56:12 +0000 (18:56 +0100)
committerAndre Heinecke <aheinecke@intevation.de>
Wed, 2 Mar 2016 17:56:12 +0000 (18:56 +0100)
* lang/cpp/src/Makefile.am (libgpgmepp_la_LDFLAGS): Add version info.

lang/cpp/src/Makefile.am

index a06684e..a9b7ef4 100644 (file)
@@ -59,6 +59,8 @@ libgpgmepp_la_SOURCES = $(main_sources) $(gpgmepp_headers) context_vanilla.cpp \
 AM_CPPFLAGS = @GPG_ERROR_CFLAGS@ @LIBASSUAN_CFLAGS@ -DBUILDING_GPGMEPP
 
 libgpgmepp_la_LIBADD = ../../../src/libgpgme.la @LIBASSUAN_LIBS@
+libgpgmepp_la_LDFLAGS = -version-info \
+    @LIBGPGMEPP_LT_CURRENT@:@LIBGPGMEPP_LT_REVISION@:@LIBGPGMEPP_LT_AGE@
 
 GpgmeppConfig.cmake: GpgmeppConfig.cmake.in
        sed -e 's|[@]resolved_libdir@|$(libdir)|g' < "$<" > "$@"