Resolve all symbols for routers at link time
The routers should not have undefied references. Exceptions to this are the modules that use the maxscale_shutdown() function defined in gateway.cc.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
add_library(debugcli SHARED debugcli.cc debugcmd.cc)
|
||||
target_link_libraries(debugcli maxscale-common)
|
||||
set_target_properties(debugcli PROPERTIES VERSION "1.1.1")
|
||||
# Can't add `LINK_FLAGS -Wl,-z,defs` as the module uses maxscale_shutdown() which is defined in gateway.cc
|
||||
install_module(debugcli core)
|
||||
|
||||
|
Reference in New Issue
Block a user