From: Willem Jan Withagen Date: Sun, 4 Nov 2018 11:25:34 +0000 (+0100) Subject: cmake: do not pass -B{symbolic,symbolic-functions} to linker on FreeBSD X-Git-Tag: v13.2.5~54^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3b5de5f2d401e54abc87f34734f93a83e6a36431;p=ceph.git cmake: do not pass -B{symbolic,symbolic-functions} to linker on FreeBSD Signed-off-by: Willem Jan Withagen (cherry picked from commit 60c6e70cc84e7e76d4e89222358512b1c40bb9c0) --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c5100a3cd75..ef687b8cc0e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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