mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-06 18:22:32 +00:00
chore(lua): Use PACKAGE_DATADIR and AM_CPPFLAGS
This commit is contained in:
+2
-2
@@ -23,12 +23,12 @@
|
||||
|
||||
namespace rpc {
|
||||
|
||||
#ifdef HAVE_LUA
|
||||
|
||||
const int LuaEngine::flag_string;
|
||||
const std::string LuaEngine::module_name = "rtorrent";
|
||||
const std::string LuaEngine::local_path = LUA_DATADIR "/?.lua;" LUA_DATADIR "/?/init.lua";
|
||||
|
||||
#ifdef HAVE_LUA
|
||||
|
||||
LuaEngine::LuaEngine() {
|
||||
m_luaState = luaL_newstate();
|
||||
luaL_openlibs(m_luaState);
|
||||
|
||||
Reference in New Issue
Block a user