Resolve authenticator symbols at compile time

Resolving the symbols at compile time prevents runtime problems.
This commit is contained in:
Markus Mäkelä
2018-07-25 13:10:24 +03:00
parent cca7757090
commit 00c107e051
11 changed files with 11 additions and 11 deletions

View File

@ -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()