Resolve authenticator symbols at compile time
Resolving the symbols at compile time prevents runtime problems.
This commit is contained in:
@ -3,6 +3,6 @@ if(SQLITE_VERSION VERSION_LESS 3.3)
|
||||
else()
|
||||
add_library(mysqlauth SHARED mysql_auth.cc dbusers.cc)
|
||||
target_link_libraries(mysqlauth maxscale-common mysqlcommon)
|
||||
set_target_properties(mysqlauth PROPERTIES VERSION "1.0.0")
|
||||
set_target_properties(mysqlauth PROPERTIES VERSION "1.0.0" LINK_FLAGS -Wl,-z,defs)
|
||||
install_module(mysqlauth core)
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user