mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 03:47:17 +02:00
Source plugin library files list from cmake-generated file in RPM builds
This commit is contained in:
parent
afe0cb3faa
commit
888b8793a2
2 changed files with 9 additions and 23 deletions
|
|
@ -196,6 +196,10 @@ MACRO(MYSQL_ADD_PLUGIN)
|
|||
# Install dynamic library
|
||||
MYSQL_INSTALL_TARGETS(${target} DESTINATION ${INSTALL_PLUGINDIR} COMPONENT Server)
|
||||
INSTALL_DEBUG_TARGET(${target} DESTINATION ${INSTALL_PLUGINDIR}/debug)
|
||||
# Add installed files to list for RPMs
|
||||
FILE(APPEND ${CMAKE_BINARY_DIR}/support-files/plugins.files
|
||||
"%attr(755, root, root) %{_prefix}/${INSTALL_PLUGINDIR}/${ARG_MODULE_OUTPUT_NAME}.so\n"
|
||||
"%attr(755, root, root) %{_prefix}/${INSTALL_PLUGINDIR}/debug/${ARG_MODULE_OUTPUT_NAME}.so\n")
|
||||
# For internal testing in PB2, append collections files
|
||||
IF(DEFINED ENV{PB2WORKDIR})
|
||||
PLUGIN_APPEND_COLLECTIONS(${plugin})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue