]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: bump libceph-common SO version for compliance 30976/head
authorNathan Cutler <ncutler@suse.com>
Thu, 17 Oct 2019 14:55:09 +0000 (16:55 +0200)
committerNathan Cutler <ncutler@suse.com>
Tue, 22 Oct 2019 07:36:56 +0000 (09:36 +0200)
libceph-common.so.* is included in the librados2 package. The openSUSE Shared
Library Packaging Policy [1] states that "A versioned package is allowed to ship
multiple library files, provided they share the same numbers and these numbers
always change in lockstep throughout."

[1] https://en.opensuse.org/openSUSE:Shared_library_packaging_policy

Fixes: https://tracker.ceph.com/issues/42353
Signed-off-by: Nathan Cutler <ncutler@suse.com>
src/CMakeLists.txt

index 3b1295cd0c2a1efbfc27b5ff7e6baca089b95c95..2f407097f52388ceebe1518ceecfc0e99e618627 100644 (file)
@@ -415,7 +415,7 @@ add_library(ceph-common SHARED ${ceph_common_objs})
 target_link_libraries(ceph-common ${ceph_common_deps})
 # appease dpkg-shlibdeps
 set_target_properties(ceph-common PROPERTIES
-  SOVERSION 0
+  SOVERSION 2
   SKIP_RPATH TRUE)
 if(NOT APPLE AND NOT FREEBSD)
   # Apple uses Mach-O, not ELF. so this option does not apply to APPLE.