summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorjstebbins <jstebbins.hb@gmail.com>2014-05-06 15:02:07 +0000
committerjstebbins <jstebbins.hb@gmail.com>2014-05-06 15:02:07 +0000
commit4279c5bc891880d13c6fc31d07b3277f1a8962df (patch)
tree471462c2b377fe20ac815dcb46e6b3fb5afdfa88 /gtk
parentcf20642b9819e42dff026eb114f32b7f2f3bfc4b (diff)
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
Diffstat (limited to 'gtk')
-rw-r--r--gtk/configure.ac7
1 files 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