1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Fix embedded build

This commit is contained in:
Vladislav Vaintroub
2013-01-25 18:59:30 +01:00
parent 76400fcc25
commit db26ab8a3f

View File

@ -150,12 +150,13 @@ ENDIF()
# async (*_start/*_cont functions)
SET(EMBEDDED_API)
FOREACH(f ${CLIENT_API})
FOREACH(f ${CLIENT_API_FUNCTIONS})
#IF(NOT(f MATCHES "plugin") AND NOT (f MATCHES "_start$") AND NOT (f MATCHES "_cont$"))
IF(NOT(f MATCHES "plugin|_start$|_cont$"))
SET(EMBEDDED_API ${EMBEDDED_API) ${f})
SET(EMBEDDED_API ${EMBEDDED_API} ${f})
ENDIF()
ENDFOREACH()
MESSAGE("embedded api=${EMBEDDED_API}")
IF(NOT DISABLE_SHARED)
MERGE_LIBRARIES(libmysqld SHARED mysqlserver EXPORTS ${EMBEDDED_API}