lua-users home
lua-l archive

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


On Wed, Feb 13, 2013 at 5:28 PM, Mike Swingler <mike.swingler@gmail.com> wrote:
 A static library is simply included in the executable in which it is
linked, and if you only have one, that is likely the most
straightforward approach.

If your program supports running Lua scripts, then beware of a
potential problem with static linking; the linker will pull in only
the symbols needed for the program to compile.   There may be missing
symbols however when you try to run a script within that program.  I
believe there are ways to force all the symbols to be included.

So some recommend using the Lua .so when embedding...

steve d.