On 25/02/2016 14:00, Matthieu Bouron wrote:
From: Matthieu Bouron <matthieu.bou...@stupeflix.com>
Fixes build of lavd/jack on linux if dispatch happens to be available on
this platform. dispatch, as well as its dependencies kqueue and pwq are
generally not installed / distribued on linux systems. If it happens to
be the case, you want to explicitely link against the libraries (using
-ldispatch) as opposed to darwin where it is part of the standard
library and -ldispatch doesn't work.
Systems other than OSX/darwin could potentially have a working
libdispatch/GCD as well, I know FreeBSD has a port[1].
Maybe it would be a good idea to check if pthreads are available (or the
system is OSX), and if not then properly check for libdispatch.
Making it OSX-only is just going to require another patch when someone
using libdispatch on another system wants it.
- Josh
[1] https://wiki.freebsd.org/GCD
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel