lua-users home
lua-l archive

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


On Fri, Aug 8, 2008 at 2:37 PM, Luiz Henrique de Figueiredo
<> wrote:
> In Windows I think you need to build Lua as a DLL if you want to
> dynamically load C libraries. If your application does not need that,
> then it's fine to link Lua statically. (For Linux, the recommendation
> is exactly the opposite: link Lua statically but export its symbols.)

Nope. I build my Lua EXE statically with lots of pre-loaded
functionality, but still use various DLLs to extend that. It's the
code in loadlib.c that handles that in the usual way (i.e.,