1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-15 17:47:09 +00:00

Build fix for Lua >=5.2.

See Gentoo bug at https://bugs.gentoo.org/show_bug.cgi?id=407089.
This commit is contained in:
Brenden Matthews 2012-03-07 11:11:12 -08:00
parent be4854c6bb
commit 19fc6e1a75

View File

@ -145,7 +145,7 @@ void llua_init(void)
const char *libs = PACKAGE_LIBDIR"/lib?.so;";
char *old_path, *new_path;
if (lua_L) return;
lua_L = lua_open();
lua_L = luaL_newstate();
/* add our library path to the lua package.cpath global var */
luaL_openlibs(lua_L);