[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua and C++
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 30 Mar 2020 07:40:03 -0300
> 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.