Support shared pthreads-win32.
authorGianluigi Tiesi <mplayer@netfarm.it>
Thu, 24 Apr 2008 02:03:07 +0000 (02:03 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Thu, 24 Apr 2008 02:03:07 +0000 (02:03 +0000)
Patch by Gianluigi Tiesi <mplayer at netfarm.it>

Originally committed as revision 12933 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index ba816f5..840d054 100755 (executable)
--- a/configure
+++ b/configure
@@ -1593,6 +1593,8 @@ if enabled pthreads; then
     elif check_func pthread_create -pthreads; then
         add_cflags -pthreads
         add_extralibs -pthreads
+    elif check_func pthread_create -lpthreadGC2; then
+        add_extralibs -lpthreadGC2
     elif ! check_lib pthread.h pthread_create -lpthread; then
         die "ERROR: can't find pthreads library"
     fi