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

Re: spiped 1.2.0 patch



On 08/30/12 10:56, James Cook wrote:
> I also had to add that header to get spipe to compile on Snow Leopard. 
> Additionally, I had to remove "-lrt" from the spipe(d) makefiles.

The "-lrt" removal is a known bug in OS X.  (Last I heard, OpenBSD also
has the same bug).  Normally -l<foo> means "link to the <foo> library",
but -lrt (and a few others) are required by POSIX to succeed even if the
library in question does not exist -- on some platforms (OS X included)
the functions normally provided in librt are instead merged into libc.

-- 
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid