lua-users home
lua-l archive

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

Thanks that helps a bit.

On Fri, Jun 20, 2014 at 7:32 AM, Luiz Henrique de Figueiredo <> wrote:

Add the Lua library statically in your app. Make sure your app exports
the Lua API symbols. In Linux, you have to use -Wl,-E when linking it.

The instructions for Windows are different: you need a Lua DLL and you
don't link Lua statically in your app.

See also .

Sorry I am a novice when it comes to compiling C programs and I didn't completely understand the above. Which lua library is to be added statically? Does it matter where I place that lua library?