The routers should not have undefied references. Exceptions to this are the modules that use the maxscale_shutdown() function defined in gateway.cc.
		
			
				
	
	
		
			10 lines
		
	
	
		
			250 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			250 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
add_library(hintrouter SHARED
 | 
						|
  hintrouter.cc
 | 
						|
  hintroutersession.cc
 | 
						|
  dcb.cc
 | 
						|
  )
 | 
						|
 | 
						|
target_link_libraries(hintrouter maxscale-common)
 | 
						|
set_target_properties(hintrouter PROPERTIES VERSION "1.0.0"  LINK_FLAGS -Wl,-z,defs)
 | 
						|
install_module(hintrouter core)
 |