[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Binary modules on OSX
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 15 Mar 2010 13:08:22 -0300
> Is the official "make macosx" target building a Lua suitable to load
> binary modules, and in that case how to build such binary modules ?
Yes. Binary modules should be created with
env MACOSX_DEPLOYMENT_TARGET=10.3 $(CC) -bundle -undefined dynamic_lookup -o libxxx.so lxxx.o
See http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/install.html