Commit db26ab8a authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix embedded build

parent 76400fcc
......@@ -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}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment