mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
MDEV-7771 missing client plugins when mariadb-shared is not installed
Put client plugins into -common rpm, not -shared. Because they're needed for * all clients that link with shared libmysqlclient (-shared) * our clients from -client rpm, they're statically linked (-client) * the server that acts as a replication slave (-server)
This commit is contained in:
parent
02421aa284
commit
b988553c52
4 changed files with 5 additions and 4 deletions
|
@ -21,11 +21,12 @@ SET(CPACK_COMPONENT_MANPAGESCLIENT_GROUP "client")
|
|||
SET(CPACK_COMPONENT_README_GROUP "server")
|
||||
SET(CPACK_COMPONENT_SHAREDLIBRARIES_GROUP "shared")
|
||||
SET(CPACK_COMPONENT_COMMON_GROUP "common")
|
||||
SET(CPACK_COMPONENT_CLIENTPLUGINS_GROUP "common")
|
||||
SET(CPACK_COMPONENT_COMPAT_GROUP "compat")
|
||||
SET(CPACK_COMPONENTS_ALL Server ManPagesServer IniFiles Server_Scripts
|
||||
SupportFiles Development ManPagesDevelopment
|
||||
ManPagesTest Readme ManPagesClient Test
|
||||
Common Client SharedLibraries)
|
||||
Common Client SharedLibraries ClientPlugins)
|
||||
|
||||
SET(CPACK_RPM_PACKAGE_NAME "MariaDB")
|
||||
SET(CPACK_PACKAGE_FILE_NAME "${CPACK_RPM_PACKAGE_NAME}-${VERSION}-${RPM}-${CMAKE_SYSTEM_PROCESSOR}")
|
||||
|
|
|
@ -15,4 +15,4 @@
|
|||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
MYSQL_ADD_PLUGIN(dialog dialog.c ${CMAKE_SOURCE_DIR}/libmysql/get_password.c
|
||||
MODULE_ONLY COMPONENT SharedLibraries)
|
||||
MODULE_ONLY COMPONENT ClientPlugins)
|
||||
|
|
|
@ -30,4 +30,4 @@ MYSQL_ADD_PLUGIN(qa_auth_client qa_auth_client.c
|
|||
MYSQL_ADD_PLUGIN(auth_0x0100 auth_0x0100.c MODULE_ONLY COMPONENT Test)
|
||||
|
||||
MYSQL_ADD_PLUGIN(mysql_clear_password clear_password_client.c
|
||||
MODULE_ONLY COMPONENT SharedLibraries)
|
||||
MODULE_ONLY COMPONENT ClientPlugins)
|
||||
|
|
|
@ -29,7 +29,7 @@ IF(WIN32)
|
|||
|
||||
MYSQL_ADD_PLUGIN(authentication_windows_client ${PLUGIN_SOURCES} ${HEADERS}
|
||||
LINK_LIBRARIES Secur32
|
||||
MODULE_ONLY COMPONENT SharedLibraries)
|
||||
MODULE_ONLY COMPONENT ClientPlugins)
|
||||
|
||||
#IF(MSVC)
|
||||
# INSTALL_DEBUG_TARGET(auth_win_client DESTINATION ${INSTALL_LIBDIR}/debug)
|
||||
|
|
Loading…
Reference in a new issue