mirror of
https://github.com/MariaDB/server.git
synced 2026-04-20 07:15:33 +02:00
a typo caused plugins to have no MYSQL_SERVER symbol defined.
don't try to define it for plugins, then, as they don't need it.
This commit is contained in:
parent
c2da54ef26
commit
c975fdbc85
1 changed files with 1 additions and 2 deletions
|
|
@ -133,7 +133,6 @@ MACRO(MYSQL_ADD_PLUGIN)
|
|||
ENDIF()
|
||||
|
||||
ADD_LIBRARY(${target} STATIC ${SOURCES})
|
||||
SET_TARGET_PROPERTIES(${target} PROPERTIES COMPILE_DEFINITONS "MYSQL_SERVER")
|
||||
DTRACE_INSTRUMENT(${target})
|
||||
ADD_DEPENDENCIES(${target} GenError ${ARG_DEPENDENCIES})
|
||||
RESTRICT_SYMBOL_EXPORTS(${target})
|
||||
|
|
@ -146,7 +145,7 @@ MACRO(MYSQL_ADD_PLUGIN)
|
|||
DTRACE_INSTRUMENT(${target}_embedded)
|
||||
IF(ARG_RECOMPILE_FOR_EMBEDDED)
|
||||
SET_TARGET_PROPERTIES(${target}_embedded
|
||||
PROPERTIES COMPILE_DEFINITIONS "MYSQL_SERVER;EMBEDDED_LIBRARY")
|
||||
PROPERTIES COMPILE_DEFINITIONS "EMBEDDED_LIBRARY")
|
||||
ENDIF()
|
||||
ADD_DEPENDENCIES(${target}_embedded GenError)
|
||||
ENDIF()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue