compat-lua/lua-5.1.4-lunatic.patch
Hans de Goede ed24aed43d New Fedora package with full lua-5.1 for use with applications not yet
ported to 5.2
- Release fields start at 5 to be newer the compat-lua-libs from the
  non-compat lua package
2013-08-05 15:07:55 +02:00

12 lines
350 B
Diff

--- src/loadlib.c.orig 2010-02-09 16:58:47.000000000 -0600
+++ src/loadlib.c 2010-02-09 16:59:12.000000000 -0600
@@ -66,7 +66,7 @@
static void *ll_load (lua_State *L, const char *path) {
- void *lib = dlopen(path, RTLD_NOW);
+ void *lib = dlopen(path, RTLD_NOW|RTLD_GLOBAL);
if (lib == NULL) lua_pushstring(L, dlerror());
return lib;
}