[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: How to make a static Lua?
- From: steve donovan <steve.j.donovan@...>
- Date: Mon, 18 Apr 2016 19:22:23 +0200
On Mon, Apr 18, 2016 at 6:32 PM, Viacheslav Usov <firstname.lastname@example.org> wrote:
>> With mingw -Wl,-E makes this happen as well.
> Is that something that you know (rather than just think) will work?
Of course, you _do_ have to rebuild all your DLLs to refer to the
symbols from the executable; that's indeed the big difference. I know
this works, because if an application like SciTE which embeds Lua is
allowed to export its symbols, it can load modules, recompiled against
The other approach is to build a fat executable with modules
statically compiled, like I do with the luabuild project.