]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: do not pass -B{symbolic,symbolic-functions} to linker on FreeBSD 25525/head
authorWillem Jan Withagen <wjw@digiware.nl>
Sun, 4 Nov 2018 11:25:34 +0000 (12:25 +0100)
committerNathan Cutler <ncutler@suse.com>
Wed, 12 Dec 2018 22:36:10 +0000 (23:36 +0100)
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
(cherry picked from commit 60c6e70cc84e7e76d4e89222358512b1c40bb9c0)

src/CMakeLists.txt

index c5100a3cd75ec875e48fed823091e47550ca8431..ef687b8cc0e739123fecdc0570d0a60af7ed4e68 100644 (file)
@@ -702,7 +702,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