mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
Scripts: WITH_INNOBASE_STORAGE_ENGINE fix
This commit is contained in:
parent
be6f2d302c
commit
8f5f4c2160
2 changed files with 10 additions and 0 deletions
|
@ -363,6 +363,15 @@ IF(WITH_UNIT_TESTS)
|
|||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
IF(WITH_INNOBASE_STORAGE_ENGINE)
|
||||
SET(WITH_XTRADB_STORAGE_ENGINE OFF)
|
||||
IF(PLUGIN_XTRADB STREQUAL STATIC)
|
||||
SET(PLUGIN_XTRADB DYNAMIC)
|
||||
ENDIF()
|
||||
ELSE()
|
||||
SET(WITH_XTRADB_STORAGE_ENGINE ON)
|
||||
ENDIF()
|
||||
|
||||
SET (MYSQLD_STATIC_PLUGIN_LIBS "" CACHE INTERNAL "")
|
||||
|
||||
# mariadb_connector_c fetches submodules which is useful for plugins
|
||||
|
|
|
@ -501,6 +501,7 @@ SET(INNOBASE_SOURCES
|
|||
|
||||
MYSQL_ADD_PLUGIN(xtradb ${INNOBASE_SOURCES} STORAGE_ENGINE
|
||||
RECOMPILE_FOR_EMBEDDED
|
||||
MODULE_OUTPUT_NAME ha_innodb
|
||||
LINK_LIBRARIES
|
||||
${ZLIB_LIBRARY}
|
||||
${CRC32_VPMSUM_LIBRARY}
|
||||
|
|
Loading…
Reference in a new issue