mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-27 20:44:56 +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:
parent
d884152376
commit
83bf5e3f85
@ -92,7 +92,7 @@ void llua_init(void)
|
|||||||
const char *libs = PACKAGE_LIBDIR"/lib?.so;";
|
const char *libs = PACKAGE_LIBDIR"/lib?.so;";
|
||||||
char *old_path, *new_path;
|
char *old_path, *new_path;
|
||||||
if (lua_L) return;
|
if (lua_L) return;
|
||||||
lua_L = lua_open();
|
lua_L = luaL_newstate();
|
||||||
|
|
||||||
/* add our library path to the lua package.cpath global var */
|
/* add our library path to the lua package.cpath global var */
|
||||||
luaL_openlibs(lua_L);
|
luaL_openlibs(lua_L);
|
||||||
|
Loading…
Reference in New Issue
Block a user