]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge pull request #24920 from wjwithagen/wjw-fix-build-symbolic
authorKefu Chai <tchaikov@gmail.com>
Tue, 6 Nov 2018 01:15:48 +0000 (17:15 -0800)
committerGitHub <noreply@github.com>
Tue, 6 Nov 2018 01:15:48 +0000 (17:15 -0800)
cmake: do not pass -B{symbolic,symbolic-functions} to linker on FreeBSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
1  2 
src/CMakeLists.txt

index de0a3aa76bbccb4c49d924416eb2f1bbb21289e5,43c44388f30fcae23d04ed42a146424cc11202d9..f999f877a69161e59f8388ef7f6496f7809cff15
@@@ -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