From 4279c5bc891880d13c6fc31d07b3277f1a8962df Mon Sep 17 00:00:00 2001 From: jstebbins Date: Tue, 6 May 2014 15:02:07 +0000 Subject: LinGui: fix linking with mingw 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 --- gtk/configure.ac | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gtk/configure.ac b/gtk/configure.ac index 52da947b0..f24323bf1 100644 --- a/gtk/configure.ac +++ b/gtk/configure.ac @@ -171,16 +171,17 @@ fi 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 -- cgit v1.2.3