summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-12-22 17:09:16 +0100
committerSergei Golubchik <sergii@pisem.net>2013-12-22 17:09:16 +0100
commit8e72ddbb9cd2a817f816bed86f7dc9d7c08eb156 (patch)
tree15a5ebdc116a2264260655a6e2de5dfe77f611c0 /cmake
parent5660d6a550489b1a4de650f085a08f7cd63725ff (diff)
downloadmariadb-git-8e72ddbb9cd2a817f816bed86f7dc9d7c08eb156.tar.gz
use -visibility=hidden also for plugins linked statically into libmysqld
(it was used only for plugins in mysqld)
Diffstat (limited to 'cmake')
-rw-r--r--cmake/plugin.cmake1
1 files changed, 1 insertions, 0 deletions
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