lua-users home
lua-l archive

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


On Sun, Apr 29, 2018 at 2:32 PM, Viacheslav Usov <via.usov@gmail.com> wrote:
> Problem is, it is only at the final linking step that  externals are
> resolved. With the approach above, there will be conflicting externals (same
> names) from lua51.dll and lua5x.dll. The intermediate static library step
> does not change that (at least not without some other hackery).

Hmm. So put the main functions in their own (tiny) dynamic libraries,
rather than in static libraries. Or go down the hackery route (such as
delay-importing both Lua DLLs, and having a custom delay-import
binding routine).