diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-04-16 15:13:25 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-04-16 15:37:52 +0300 |
commit | d48e6c8380ebd1f8d4d4f2c80237dc1488da4721 (patch) | |
tree | 004158090fc80b15a620f2c960b0e029cad25835 /luaext/linit.c | |
parent | 23f6917b10b6579f39199e4cf831bb13fc596824 (diff) | |
download | librpm-tizen-d48e6c8380ebd1f8d4d4f2c80237dc1488da4721.tar.gz librpm-tizen-d48e6c8380ebd1f8d4d4f2c80237dc1488da4721.tar.bz2 librpm-tizen-d48e6c8380ebd1f8d4d4f2c80237dc1488da4721.zip |
Start phasing out internal copy of Lua
- don't build internal copy of Lua
- move 3rd party extensions (posix and rexlib) to toplevel luaext/
directory, built by default (unless --without-lua specified)
- auto*foo checks for external Lua
- minimal tweaks to lposix.c and rpmlua.c to get them build with Lua 5.1
Diffstat (limited to 'luaext/linit.c')
-rw-r--r-- | luaext/linit.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/luaext/linit.c b/luaext/linit.c new file mode 100644 index 000000000..6f10b26fb --- /dev/null +++ b/luaext/linit.c @@ -0,0 +1,9 @@ +#include "lua.h" +#include "lauxlib.h" +#include "linit.h" + +LUA_API int luaopen_init(lua_State *L) +{ +#include "linit.lch" + return 0; +} |