|
> I maintain a fork of lua to patch the makefile to include -fPIC, so I could link liblua.a to a shared library. I was wondering if there was a reason this wasn’t default, along with why only the executable(s) and the static lua was built by default? It seems like a limitation, as it prevents using lua in shared libraries, only in static libraries, or top level executables.
See http://lua-users.org/lists/lua-l/2014-05/msg00381.html