$NetBSD: patch-storage_tokudb_PerconaFT_src_CMakeLists.txt,v 1.1 2021/05/08 19:47:16 jdolecek Exp $ Portability. --- storage/tokudb/PerconaFT/src/CMakeLists.txt.orig 2015-02-25 15:40:56.000000000 +0000 +++ storage/tokudb/PerconaFT/src/CMakeLists.txt @@ -36,7 +36,9 @@ set_property(TARGET ${LIBTOKUDB} tokudb_ configure_file(export.map . COPYONLY) if (NOT CMAKE_SYSTEM_NAME STREQUAL Darwin) add_space_separated_property(TARGET ${LIBTOKUDB} COMPILE_FLAGS "-fvisibility=hidden -fvisibility-inlines-hidden") + if (NOT CMAKE_SYSTEM_NAME STREQUAL SunOS) add_space_separated_property(TARGET ${LIBTOKUDB} LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/export.map") + endif () endif () # detect when we are being built as a subproject