From: Roger Meier Date: Tue, 11 Oct 2011 19:48:57 +0000 (+0000) Subject: THRIFT-1381 Thrift C++ libs have incorrectly versioned names X-Git-Tag: 0.8.0~55 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=bf12239d2e98d475c5506e5511cc0fe3fea148da;p=common%2Fthrift.git THRIFT-1381 Thrift C++ libs have incorrectly versioned names Patch: Jake Farrell git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1182052 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/cpp/Makefile.am b/lib/cpp/Makefile.am index 593ef9e0..f48aed2a 100644 --- a/lib/cpp/Makefile.am +++ b/lib/cpp/Makefile.am @@ -27,6 +27,7 @@ pkgconfigdir = $(libdir)/pkgconfig lib_LTLIBRARIES = libthrift.la pkgconfig_DATA = thrift.pc +libthrift_la_LDFLAGS = -release $(VERSION) ## We only build the extra libraries if we have the dependencies, ## but we install all of the headers unconditionally. @@ -99,6 +100,8 @@ libthriftnb_la_CPPFLAGS = $(AM_CPPFLAGS) $(LIBEVENT_CPPFLAGS) libthriftz_la_CPPFLAGS = $(AM_CPPFLAGS) $(ZLIB_CPPFLAGS) libthriftnb_la_CXXFLAGS = $(AM_CXXFLAGS) libthriftz_la_CXXFLAGS = $(AM_CXXFLAGS) +libthriftnb_la_LDFLAGS = -release $(VERSION) +libthriftz_la_LDFLAGS = -release $(VERSION) if WITH_BOOSTTHREADS libthrift_la_LIBADD = -lboost_thread