lua-users home
lua-l archive

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


> On Mon, Aug 17, 2009 at 11:55 PM, Luiz Henrique de
> Figueiredo<lhf@tecgraf.puc-rio.br> wrote:
> >        cc -shared -o liblua.so *.o
> 
> You need a special incantation for OS X

Yes, I'm sorry I misssed that part. I use this for my libraries:
env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -o liblua.so *.o

> Why they don't just define -shared to mean this?

Indeed!