Commit db26ab8a authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix embedded build

parent 76400fcc
...@@ -150,12 +150,13 @@ ENDIF() ...@@ -150,12 +150,13 @@ ENDIF()
# async (*_start/*_cont functions) # async (*_start/*_cont functions)
SET(EMBEDDED_API) 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$")) IF(NOT(f MATCHES "plugin|_start$|_cont$"))
SET(EMBEDDED_API ${EMBEDDED_API) ${f}) SET(EMBEDDED_API ${EMBEDDED_API} ${f})
ENDIF() ENDIF()
ENDFOREACH() ENDFOREACH()
MESSAGE("embedded api=${EMBEDDED_API}")
IF(NOT DISABLE_SHARED) IF(NOT DISABLE_SHARED)
MERGE_LIBRARIES(libmysqld SHARED mysqlserver EXPORTS ${EMBEDDED_API} 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