Fedora's mingw pthreads no longer has pthread_win32_process_attach_np,
so force linking to the pthreadw32 contrib package.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6173
b64f7644-9d1e-0410-96f1-
a4d463321fa5
GHB_TOOLS_CFLAGS=`$BUILD_PKG_CONFIG --cflags glib-2.0 gdk-pixbuf-2.0`
GHB_TOOLS_LIBS=`$BUILD_PKG_CONFIG --libs glib-2.0 gdk-pixbuf-2.0`
-HB_LIBS="-lhandbrake -lavresample -lavformat -lavcodec -lavutil -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lsamplerate -lx264 -lswscale -ltheoraenc -ltheoradec -lvpx -lz -lbz2 -lpthread -lbluray -lass -lfontconfig -lfreetype -lxml2"
+HB_LIBS="-lhandbrake -lavresample -lavformat -lavcodec -lavutil -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lsamplerate -lx264 -lswscale -ltheoraenc -ltheoradec -lvpx -lz -lbz2 -lbluray -lass -lfontconfig -lfreetype -lxml2"
case $host in
*-*-mingw*)
if test "x$use_libdl" = "xyes" ; then
- HB_LIBS+=" -ldl"
+ HB_LIBS+=" -ldl -lpthreadGC2"
fi
+ HB_LIBS+=" -lpthreadGC2"
;;
*)
- HB_LIBS+=" -ldl"
+ HB_LIBS+=" -ldl -lpthread"
;;
esac