[Ffmpeg-devel] [PATCH] pthreads-w32 check

ramiro at lisha.ufsc.br ramiro
Sat Feb 24 16:33:25 CET 2007


Hello,

Attached patch correctly checks for pthreads-w32 in its many formats.
(void) $func on check_func2 didn't do the trick. Args must be passed.

Changed last check_lib -lpthread to check_lib2 (should work on linux the
same way).
It then checks for -lpthreadGC2 (the one to be used with gcc), and if all
fails, it checks for the static library of pthreadGC2 (which must have
that define and those libraries).

If x264 is built with pthreads-w32, it must also have those extra
libraries, so the order does matter. add_extralibs is not enough.

Ramiro Polla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pthreads-w32.diff
Type: application/octet-stream
Size: 2884 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070224/fa6f31b0/attachment.obj>



More information about the ffmpeg-devel mailing list