[FFmpeg-cvslog] configure: Fix sem_timedwait probe
Luca Barbato
git at videolan.org
Mon Oct 30 19:12:02 EET 2017
ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Sun Apr 23 14:10:20 2017 +0000| [41262498ff89ef48e5ce4823b2fc2dc514a3eb0c] | committer: Luca Barbato
configure: Fix sem_timedwait probe
It requires pthreads.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=41262498ff89ef48e5ce4823b2fc2dc514a3eb0c
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 967d7d9a10..c7d0363618 100755
--- a/configure
+++ b/configure
@@ -4693,7 +4693,7 @@ if ! disabled pthreads && ! enabled w32threads; then
fi
enabled pthreads &&
- check_builtin sem_timedwait semaphore.h "sem_t *s; sem_init(s,0,0); sem_timedwait(s,0); sem_destroy(s)"
+ check_builtin sem_timedwait semaphore.h "sem_t *s; sem_init(s,0,0); sem_timedwait(s,0); sem_destroy(s)" $pthreads_extralibs
disabled zlib || check_lib zlib zlib.h zlibVersion -lz
disabled bzlib || check_lib bzlib bzlib.h BZ2_bzlibVersion -lbz2
More information about the ffmpeg-cvslog
mailing list