diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake index fd9032ccead..d0847f1f84e 100644 --- a/cmake/plugin.cmake +++ b/cmake/plugin.cmake @@ -128,6 +128,7 @@ MACRO(MYSQL_ADD_PLUGIN) IF(ARG_RECOMPILE_FOR_EMBEDDED OR NOT _SKIP_PIC) # Recompile some plugins for embedded ADD_CONVENIENCE_LIBRARY(${target}_embedded ${SOURCES}) + RESTRICT_SYMBOL_EXPORTS(${target}_embedded) DTRACE_INSTRUMENT(${target}_embedded) IF(ARG_RECOMPILE_FOR_EMBEDDED) SET_TARGET_PROPERTIES(${target}_embedded