|
VMiklos wrote:
On Thu, Mar 02, 2006 at 10:49:45PM -0300, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:So we stay away from building shared libraries in the stock makefiles. This can and is done by third-party binary distributions such as LuaBinaries (http://luabinaries.luaforge.net/).if you use gcc and not ld for that purpose, and i don't think this is still true. using -shared -Wl,-soname,liblua.so should work on any system, or i'm wrong?
Depends on how you define any system? On Mac OS X -shared is not supported. Furthermore shared libraries will usually have the extension .dylib instead of .so.
Regards Rolf