module/main.cpp -> module/init.cpp

This commit is contained in:
Perttu Ahola 2014-09-16 23:25:27 +03:00
parent 6414b38518
commit caba69b5d0
3 changed files with 1 additions and 1 deletions

View File

@ -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));