[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua Makefiles
- From: "Robert Raschke" <rtrlists@...>
- Date: Mon, 11 Aug 2008 09:26:41 +0100
Hi,
On Fri, Aug 8, 2008 at 2:37 PM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> 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.,
LoadLibrary()).
Robby