mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
MDEV-8883 more cross-compiling fixes
don't abort with "XtraDB not supported" if XtraDB was disabled in this build.
This commit is contained in:
parent
581d85259d
commit
df8832caae
1 changed files with 6 additions and 6 deletions
|
@ -455,12 +455,12 @@ IF(WITH_INNODB)
|
|||
SET(WITH_INNOBASE_STORAGE_ENGINE TRUE)
|
||||
ENDIF()
|
||||
|
||||
IF(XTRADB_OK)
|
||||
MYSQL_ADD_PLUGIN(xtradb ${INNOBASE_SOURCES} STORAGE_ENGINE
|
||||
DEFAULT
|
||||
RECOMPILE_FOR_EMBEDDED
|
||||
LINK_LIBRARIES ${ZLIB_LIBRARY} ${LINKER_SCRIPT})
|
||||
ELSE()
|
||||
MYSQL_ADD_PLUGIN(xtradb ${INNOBASE_SOURCES} STORAGE_ENGINE
|
||||
DEFAULT
|
||||
RECOMPILE_FOR_EMBEDDED
|
||||
LINK_LIBRARIES ${ZLIB_LIBRARY} ${LINKER_SCRIPT})
|
||||
|
||||
IF(TARGET xtradb AND NOT XTRADB_OK)
|
||||
MESSAGE(FATAL_ERROR "Percona XtraDB is not supported on this platform")
|
||||
ENDIF()
|
||||
|
||||
|
|
Loading…
Reference in a new issue