From e9fe075726cbfcf773a4440ee1c07e4520e123ab Mon Sep 17 00:00:00 2001 From: Tim Niemueller Date: Sun, 9 May 2010 10:46:41 +0000 Subject: Add patch regarding dlopen flags to support lunatic (Lua-Python bridge) --- lua-5.1.4-lunatic.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lua-5.1.4-lunatic.patch (limited to 'lua-5.1.4-lunatic.patch') diff --git a/lua-5.1.4-lunatic.patch b/lua-5.1.4-lunatic.patch new file mode 100644 index 0000000..70315b2 --- /dev/null +++ b/lua-5.1.4-lunatic.patch @@ -0,0 +1,11 @@ +--- 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; + } -- cgit