module/main.cpp -> module/init.cpp
This commit is contained in:
parent
6414b38518
commit
caba69b5d0
@ -29,7 +29,7 @@ struct CState: public State, public interface::Server
|
||||
{
|
||||
std::cerr<<"Loading module "<<module_name<<" from "<<path<<std::endl;
|
||||
ss_ build_dst = g_server_config.rccpp_build_path + "/module.so";
|
||||
m_compiler->build(module_name, path+"/server/main.cpp", build_dst);
|
||||
m_compiler->build(module_name, path+"/server/init.cpp", build_dst);
|
||||
|
||||
interface::Module *m = static_cast<interface::Module*>(
|
||||
m_compiler->construct(module_name.c_str(), this));
|
||||
|
Loading…
x
Reference in New Issue
Block a user