lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


December 25, 2016 4:02 PM, "Marc Balmer" <marc@msys.ch> wrote:
> I am late to the game, but I recently started working on an Android app
> that includes Lua. Fortunately I have quite a bit of experience with
> the JNI and several (non Android) projects where Lua is called from Java...
> 
> Now I wonder how other Android/Lua hackers handle 'require' for modules
> written in C/C++. Do you link your modules with Lua into a single
> library or do you create several .so files? If the latter, how do you
> trick Lua into loading the right shared object?

For now I link everything statically.