Scripts: WITH_INNOBASE_STORAGE_ENGINE fix

This commit is contained in:
Aleksey Midenkov 2016-09-16 16:55:58 +00:00
parent be6f2d302c
commit 8f5f4c2160
2 changed files with 10 additions and 0 deletions

View file

@ -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

View file

@ -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}