Lua can be statically linked to anything written in C, because it's just a bunch of C code. That is one of the biggest reasons why it has seen such wide adoption. To quote their readme,
>Building Lua should be straightforward because Lua is implemented in pure ANSI C and compiles unmodified in all known platforms that have an ANSI C compiler.
[0] http://www.lua.org/manual/5.3/readme.html#install