lua-users home
lua-l archive

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


> If you mean that your main application executable has Lua compiled and statically linked into it, then you will not be able to load a shared/dynamic library that needs to use the Lua API - because it expects the Lua API to be exposed by a shared/dynamic library.

That may be true in Windows. In macOS you don't need to do anything.
In Linux you need to link your application with -Wl,-E as the lua.org
Makefile does for the standalone interpreter.