]> granicus.if.org Git - handbrake/commitdiff
Fix bashism in autoconf script that leads to build failure unless bash is /bin/sh.
authorlameventanas <lameventanas@gmail.com>
Fri, 4 Dec 2015 06:00:31 +0000 (15:00 +0900)
committerlameventanas <lameventanas@gmail.com>
Fri, 4 Dec 2015 06:00:31 +0000 (15:00 +0900)
gtk/configure.ac

index 98649ad1307eee487f1126a9694a93105639f49e..0cf85a8b1ea9ee2f9651c8583d9a9eca39a4ae22 100644 (file)
@@ -162,30 +162,30 @@ HB_LIBS="-lhandbrake -lavresample -lavformat -lavcodec -lavutil -ldvdnav -ldvdre
 case $host in
   *-*-mingw*)
     if test "x$use_libdl" = "xyes" ; then
-               HB_LIBS+=" -ldl"
+               HB_LIBS="$HB_LIBS -ldl"
        fi
     if test "x$use_libpthread" = "xyes" ; then
-               HB_LIBS+=" -lpthread"
+               HB_LIBS="$HB_LIBS -lpthread"
     else
-        HB_LIBS+=" -lpthreadGC2"
+        HB_LIBS="$HB_LIBS -lpthreadGC2"
        fi
-    HB_LIBS+=" -lregex -luuid"
+    HB_LIBS="$HB_LIBS -lregex -luuid"
     ;;
   *)
-    HB_LIBS+=" -ldl -lpthread"
+    HB_LIBS="$HB_LIBS -ldl -lpthread"
     ;;
 esac
 
 if test "x$use_fdk_aac" = "xyes" ; then
-    HB_LIBS+=" -lfdk-aac"
+    HB_LIBS="$HB_LIBS -lfdk-aac"
 fi
 
 if test "x$use_x265" = "xyes" ; then
-    HB_LIBS+=" -lx265"
+    HB_LIBS="$HB_LIBS -lx265"
 fi
 
 if test "x$use_qsv" = "xyes" ; then
-    HB_LIBS+=" -lmfx"
+    HB_LIBS="$HB_LIBS -lmfx"
 fi
 
 AC_SUBST(HB_LIBS)