summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-02-15 17:39:09 +0000
committerjstebbins <[email protected]>2014-02-15 17:39:09 +0000
commit4f22c975625282031153dbcdaafbc6924dfe9521 (patch)
tree954428a7a3a3586036ad7153324ea76156ae924e /gtk
parentd6309a23ece277239608547500b0bc9b15873dc3 (diff)
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
Diffstat (limited to 'gtk')
-rw-r--r--gtk/configure.ac9
1 files 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