summaryrefslogtreecommitdiffstats
path: root/src/cls
diff options
context:
space:
mode:
authorJames Page <james.page@ubuntu.com>2015-11-04 12:05:32 +0100
committerJames Page <james.page@ubuntu.com>2015-11-04 12:08:42 +0100
commit400b0f40457adad36300fd10c0fbb103ef33f9d2 (patch)
treee35e2963f100d7b9f02ca8fc6de13e052d72f988 /src/cls
parentMerge pull request #5133 from stiopaa1/ThreadMoveCopyConstr (diff)
downloadceph-400b0f40457adad36300fd10c0fbb103ef33f9d2.tar.xz
ceph-400b0f40457adad36300fd10c0fbb103ef33f9d2.zip
Build internal plugins and classes as modules
Erasure coding plugins and Ceph classes are never exposed outside of the Ceph codebase, so versioning the built libraries adds limited value and does not reflect actual usage. Build as un-versioned shared modules instead. Signed-off-by: James Page <james.page@ubuntu.com>
Diffstat (limited to 'src/cls')
-rw-r--r--src/cls/Makefile-server.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cls/Makefile-server.am b/src/cls/Makefile-server.am
index 9b719e34c40..3658de4f2a4 100644
--- a/src/cls/Makefile-server.am
+++ b/src/cls/Makefile-server.am
@@ -55,7 +55,7 @@ radoslib_LTLIBRARIES += libcls_replica_log.la
libcls_user_la_SOURCES = cls/user/cls_user.cc
libcls_user_la_LIBADD = $(PTHREAD_LIBS) $(EXTRALIBS)
-libcls_user_la_LDFLAGS = ${AM_LDFLAGS} -version-info 1:0:0 -export-symbols-regex '.*__cls_.*'
+libcls_user_la_LDFLAGS = ${AM_LDFLAGS} -module -avoid-version -shared -export-symbols-regex '.*__cls_.*'
radoslib_LTLIBRARIES += libcls_user.la
libcls_rgw_la_SOURCES = \