From 4f22c975625282031153dbcdaafbc6924dfe9521 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sat, 15 Feb 2014 17:39:09 +0000 Subject: [PATCH] LinGui: fix missing libdl in link Seems this gets included automagically on many systems, but not on debian. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6033 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- gtk/configure.ac | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gtk/configure.ac b/gtk/configure.ac index f94c0a72d..46434f503 100644 --- a/gtk/configure.ac +++ b/gtk/configure.ac @@ -175,16 +175,19 @@ 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 -la52 -lavresample -lavformat -lavcodec -lavutil -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lsamplerate -lx264 -lswscale -ltheoraenc -ltheoradec -lz -lbz2 -lpthread -lbluray -lass -lfontconfig -lfreetype -lxml2" + case $host in *-*-mingw*) if test "x$use_libdl" = "xyes" ; then - GHB_LIBS="$GHB_LIBS -ldl" + HB_LIBS+=" -ldl" fi ;; + *) + HB_LIBS+=" -ldl" + ;; esac -HB_LIBS="-lhandbrake -la52 -lavresample -lavformat -lavcodec -lavutil -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lsamplerate -lx264 -lswscale -ltheoraenc -ltheoradec -lz -lbz2 -lpthread -lbluray -lass -lfontconfig -lfreetype -lxml2" - if test "x$use_fdk_aac" = "xyes" ; then HB_LIBS+=" -lfdk-aac" fi -- 2.40.0