[FFmpeg-devel] [PATCH] compilation fix Solaris nanosleep

Fabian Groffen grobian
Tue Feb 17 16:06:53 CET 2009


On 17-02-2009 16:02:10 +0100, Benoit Fouet wrote:
> > +# Solaris has nanosleep in -lrt, OpenSolaris no longer needs that
> > +if check_func nanosleep; then
> > +    :
> > +elif check_func nanosleep -lrt; then
> > +    add_extralibs -lrt
> > +fi
> > +
> 
> is the following working ?
> check_func nanosleep || check_func nanosleep -lrt && add_extralibs -lrt

Most probably, but I just copied from the pthread thing.  I have no
preference for one or the other.


-- 
Fabian Groffen
Gentoo on a different level




More information about the ffmpeg-devel mailing list