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:
Markus Mäkelä
2018-06-11 11:59:21 +03:00
parent 1946cb2876
commit 0627e8dc86
9 changed files with 10 additions and 10 deletions

View File

@ -7,5 +7,5 @@ rwsplit_select_backends.cc
rwsplit_session_cmd.cc
rwbackend.cc)
target_link_libraries(readwritesplit maxscale-common mysqlcommon)
set_target_properties(readwritesplit PROPERTIES VERSION "1.0.2")
set_target_properties(readwritesplit PROPERTIES VERSION "1.0.2" LINK_FLAGS -Wl,-z,defs)
install_module(readwritesplit core)