]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: do not pass -B{symbolic,symbolic-functions} to linker on FreeBSD 24920/head
authorWillem Jan Withagen <wjw@digiware.nl>
Sun, 4 Nov 2018 11:25:34 +0000 (12:25 +0100)
committerWillem Jan Withagen <wjw@digiware.nl>
Mon, 5 Nov 2018 10:27:16 +0000 (11:27 +0100)
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/CMakeLists.txt

index 0ea7f9690fbf033db6790ab6a8e81aab1e419b7b..43c44388f30fcae23d04ed42a146424cc11202d9 100644 (file)
@@ -399,7 +399,7 @@ target_link_libraries(ceph-common ${ceph_common_deps})
 set_target_properties(ceph-common PROPERTIES
   SOVERSION 0
   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