[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: building lua 5.1.4 as a shared lib on os x and intel x86_64
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 18 Aug 2009 07:04:45 -0300
> 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!