How to compile Lua scripts into a single executable, while still gaining the fast LuaJIT compiler?
snippet in lua
How to compile Lua scripts into a single executable, while still gaining the fast LuaJIT compiler?
user5985
for f in *.lua; do
luajit -b $f `basename $f .lua`.o
done
ar rcus libmyluafiles.a *.o