From 60c6e70cc84e7e76d4e89222358512b1c40bb9c0 Mon Sep 17 00:00:00 2001 From: Willem Jan Withagen Date: Sun, 4 Nov 2018 12:25:34 +0100 Subject: [PATCH] cmake: do not pass -B{symbolic,symbolic-functions} to linker on FreeBSD Signed-off-by: Willem Jan Withagen --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0ea7f9690fb..43c44388f30 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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