diff --git a/CMakeLists.txt b/CMakeLists.txt index e2eab0f..5d21a05 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,6 +60,7 @@ if(MSVC) else() include_directories(${PROJECT_SOURCE_DIR}/3rdparty) include_directories(/usr/local/include) + include_directories(/opt/lua54/include) add_definitions(-DfPIC) endif() @@ -106,7 +107,7 @@ else() ylib leveldb crypto - lua + /opt/lua54/lib/liblua.a pthread sqlite3 dl diff --git a/tests/fastweb.cpp b/tests/fastweb.cpp index 4ea7b04..f758f68 100644 --- a/tests/fastweb.cpp +++ b/tests/fastweb.cpp @@ -246,7 +246,7 @@ void fastweb::uninstall_module(std::string ini_filepath, std::string name) } } #ifndef _WIN32 - if(info.type == "lua") + if(info.type == "/opt/lua54/bin/lua") { std::cout<<"正在卸载 `"<