summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorSergei Krivonos <sergei.krivonos@mariadb.com>2021-11-09 15:40:50 +0200
committerSergei Krivonos <sergei.krivonos@mariadb.com>2021-11-09 15:44:07 +0200
commitff08e948d3708a3e9ab40bb492d6d18b8914ecff (patch)
tree16d481db1eba13e5dbef65abe31e4a65e736d9f8 /cmake
parent9960b98267d3952e30c09c9816364304deb3a242 (diff)
downloadmariadb-git-ff08e948d3708a3e9ab40bb492d6d18b8914ecff.tar.gz
Revert "In case WITH_WSREP is enabled, build wsrep as plugin"
This reverts commit e45f7f485a4c8133962a4082636412745ed07093.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/plugin.cmake6
1 files changed, 2 insertions, 4 deletions
diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake
index 5d94e2607f8..e7e9d2a3642 100644
--- a/cmake/plugin.cmake
+++ b/cmake/plugin.cmake
@@ -30,7 +30,7 @@ INCLUDE(CMakeParseArguments)
MACRO(MYSQL_ADD_PLUGIN)
CMAKE_PARSE_ARGUMENTS(ARG
- "STORAGE_ENGINE;STATIC_ONLY;MODULE_ONLY;MANDATORY;DEFAULT;DISABLED;RECOMPILE_FOR_EMBEDDED;CLIENT;EXPORT_SYMBOLS"
+ "STORAGE_ENGINE;STATIC_ONLY;MODULE_ONLY;MANDATORY;DEFAULT;DISABLED;RECOMPILE_FOR_EMBEDDED;CLIENT"
"MODULE_OUTPUT_NAME;STATIC_OUTPUT_NAME;COMPONENT;CONFIG"
"LINK_LIBRARIES;DEPENDS"
${ARGN}
@@ -139,9 +139,7 @@ MACRO(MYSQL_ADD_PLUGIN)
ADD_LIBRARY(${target} STATIC ${SOURCES})
DTRACE_INSTRUMENT(${target})
ADD_DEPENDENCIES(${target} GenError ${ARG_DEPENDS})
- IF(NOT ARG_EXPORT_SYMBOLS)
- RESTRICT_SYMBOL_EXPORTS(${target})
- ENDIF()
+ RESTRICT_SYMBOL_EXPORTS(${target})
IF(WITH_EMBEDDED_SERVER)
# Embedded library should contain PIC code and be linkable
# to shared libraries (on systems that need PIC)