lua-users home
lua-l archive

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


> Out of curiosity, I'd like to know why including "-Wl,-E" when
> compiling Lua with "make generic" solved the issue.

> Is it because modules loaded in Lua require extra information in the
> Lua interpreter?

It's because modules loaded in Lua require access to the C API functions
that are linked into the Lua interpreter. "-Wl,-E" tells the linker to
export those symbols to dynamically linked modules.