use -visibility=hidden also for plugins linked statically into libmysqld

(it was used only for plugins in mysqld)
This commit is contained in:
Sergei Golubchik 2013-12-22 17:09:16 +01:00
parent 5660d6a550
commit 8e72ddbb9c

View file

@ -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