1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-27 04:32:55 +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 d884152376
commit 83bf5e3f85

View File

@ -92,7 +92,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);