lua-users home
lua-l archive

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


Hi,

In fact identically named symbols from different shared libraries
should not conflict. At least not the way Lua loads them:

Windows: There is no global symbol namespace. All symbols are
        tied to the handle of the DLL they reside in.
POSIX:   dlopen() is called without RTLD_GLOBAL.
OSX:     NSLinkModule() is called with NSLINKMODULE_OPTION_PRIVATE.

So, I do not see a problem with this change.

It becomes a big problem when someone decides to link all these different libraries statically...

[]s,
Diego.