mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
use -visibility=hidden also for plugins linked statically into libmysqld
(it was used only for plugins in mysqld)
This commit is contained in:
parent
5660d6a550
commit
8e72ddbb9c
1 changed files with 1 additions and 0 deletions
|
@ -128,6 +128,7 @@ MACRO(MYSQL_ADD_PLUGIN)
|
||||||
IF(ARG_RECOMPILE_FOR_EMBEDDED OR NOT _SKIP_PIC)
|
IF(ARG_RECOMPILE_FOR_EMBEDDED OR NOT _SKIP_PIC)
|
||||||
# Recompile some plugins for embedded
|
# Recompile some plugins for embedded
|
||||||
ADD_CONVENIENCE_LIBRARY(${target}_embedded ${SOURCES})
|
ADD_CONVENIENCE_LIBRARY(${target}_embedded ${SOURCES})
|
||||||
|
RESTRICT_SYMBOL_EXPORTS(${target}_embedded)
|
||||||
DTRACE_INSTRUMENT(${target}_embedded)
|
DTRACE_INSTRUMENT(${target}_embedded)
|
||||||
IF(ARG_RECOMPILE_FOR_EMBEDDED)
|
IF(ARG_RECOMPILE_FOR_EMBEDDED)
|
||||||
SET_TARGET_PROPERTIES(${target}_embedded
|
SET_TARGET_PROPERTIES(${target}_embedded
|
||||||
|
|
Loading…
Add table
Reference in a new issue