The "-Bsymbolic" and "-Bsymbolic-functions" flags only apply to ELF
binaries.
llvm errors out when targeting Windows, which is why we'll need
to skip those flags for Windows builds.
Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
set_target_properties(ceph-common PROPERTIES
SOVERSION 2
SKIP_RPATH TRUE)
-if(NOT APPLE AND NOT FREEBSD)
+if(NOT APPLE AND NOT FREEBSD AND NOT WIN32)
# Apple uses Mach-O, not ELF. so this option does not apply to APPLE.
#
# prefer the local symbol definitions when binding references to global