Detect undefined references at link time
Instruct the linker to make sure all symbols are resolved at link time.
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
add_library(mysqlcommon SHARED mysql_common.cc mariadb_client.cc rwbackend.cc)
|
||||
target_link_libraries(mysqlcommon maxscale-common)
|
||||
set_target_properties(mysqlcommon PROPERTIES VERSION "2.0.0")
|
||||
set_target_properties(mysqlcommon PROPERTIES VERSION "2.0.0" LINK_FLAGS -Wl,-z,defs)
|
||||
install_module(mysqlcommon core)
|
||||
|
||||
add_subdirectory(mariadbbackend)
|
||||
|
Reference in New Issue
Block a user