]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
libcephfs: move to SOVERSION 2.0.0
authorJeff Layton <jlayton@redhat.com>
Mon, 24 Oct 2016 14:03:01 +0000 (10:03 -0400)
committerJeff Layton <jlayton@redhat.com>
Tue, 25 Oct 2016 17:06:29 +0000 (13:06 -0400)
The new libcephfs API is incompatible with the old. Move to SOVERSION
2.0.0 so that any programs built against the old headers will fail at
load time.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/CMakeLists.txt

index 739d1485178c7b1ef55b9ef7679cb9428c14fa2a..c3685c20ea4441eab2197f2c7f964f17888d8f3f 100644 (file)
@@ -771,8 +771,8 @@ if(WITH_LIBCEPHFS)
     endforeach()
     set_target_properties(cephfs PROPERTIES
       OUTPUT_NAME cephfs
-      VERSION 1.0.0
-      SOVERSION 1
+      VERSION 2.0.0
+      SOVERSION 2
       LINK_FLAGS ${CEPHFS_LINK_FLAGS})
   endif(ENABLE_SHARED)
   install(TARGETS cephfs DESTINATION ${CMAKE_INSTALL_LIBDIR})