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:
parent
be4854c6bb
commit
19fc6e1a75
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user