lua-users home
lua-l archive

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


> Which seems weird to me. Shouldn't the linker be finding those symbols 
> in the executable's address space?
	I don't think so.  Why don't you make dynamic
libraries instead of a bundle?  I add a clause at Makefile
to make .dylib instead of .so:

somac:
    gcc -o lib/liblua.$V.dylib -dynamiclib src/*.o
	gcc -o lib/liblualib.$V.dylib -ldl -dynamiclib src/lib/*.o $(LIB)/liblua.$V.dylib

	I also added the version number before the extension.
You'd have to:

make
make somac
make sobin
make install

	In fact, the install will fail because the extensions
doesn't match...  You'll have to change that clause too.

	Tell me if you succeed or if you find another
way to solve that.
	Tomas