]> granicus.if.org Git - handbrake/commitdiff
LinGui: fix missing libdl in link
authorjstebbins <jstebbins.hb@gmail.com>
Sat, 15 Feb 2014 17:39:09 +0000 (17:39 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Sat, 15 Feb 2014 17:39:09 +0000 (17:39 +0000)
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

index f94c0a72daa1e1de4c1704657dfb7016c187d537..46434f5039ff482f0cf903a8f5eb8e9ed22faf18 100644 (file)
@@ -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