From: Kefu Chai Date: Tue, 6 Nov 2018 01:15:48 +0000 (-0800) Subject: Merge pull request #24920 from wjwithagen/wjw-fix-build-symbolic X-Git-Tag: v14.1.0~1002 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f6cc40a5d2714ff94723392e4c0705097426ac1f;p=ceph.git Merge pull request #24920 from wjwithagen/wjw-fix-build-symbolic cmake: do not pass -B{symbolic,symbolic-functions} to linker on FreeBSD Reviewed-by: Kefu Chai --- f6cc40a5d2714ff94723392e4c0705097426ac1f diff --cc src/CMakeLists.txt index de0a3aa76bbc,43c44388f30f..f999f877a691 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@@ -397,9 -397,9 +397,9 @@@ add_library(ceph-common SHARED ${ceph_c target_link_libraries(ceph-common ${ceph_common_deps}) # appease dpkg-shlibdeps set_target_properties(ceph-common PROPERTIES - SOVERSION 0 + SOVERSION 1 INSTALL_RPATH "") - if(NOT APPLE) + if(NOT APPLE AND NOT FREEBSD) # Apple uses Mach-O, not ELF. so this option does not apply to APPLE. # # prefer the local symbol definitions when binding references to global