diff --git a/src/core/modulemanager.cpp b/src/core/modulemanager.cpp index 1a35b21..db144b4 100644 --- a/src/core/modulemanager.cpp +++ b/src/core/modulemanager.cpp @@ -116,6 +116,13 @@ void fastweb::module_manager::start() #define DLL_EXT "dll" #else #define DLL_EXT "so" +#endif +#ifndef _WIN32 + // Linux + { + m_lua_include_path += ";/usr/local/lib/lua/5.3/?.lua"; + m_lua_include_cpath += ";/usr/local/share/lua/5.3/?.lua"; + } #endif // 用户 {