libjail is pretty small, so it makes for a good proof of concept demonstrating how a system library can be wrapped to create a loadable Lua module for flua.
|141 ↗||(On Diff #75866)|
I took it from about 13 lines down where clang does something similar. The goal is to not build a lib32 compat version of the Lua modules. It does seem to be working.