26 lines
1.2 KiB
Plaintext
26 lines
1.2 KiB
Plaintext
Get the proper library directory for -lhandbrake.
|
|
No -ldl on OpenBSD.
|
|
|
|
Index: gtk/configure.ac
|
|
--- gtk/configure.ac.orig
|
|
+++ gtk/configure.ac
|
|
@@ -199,7 +199,7 @@ AM_CONDITIONAL([GHB_GTK_3_16], [test "$HAVE_GTK_316" -
|
|
|
|
AM_CONDITIONAL([MINGW], [test "x$mingw_flag" = "xyes"])
|
|
|
|
-HB_LIBS="$HB_LIBS -lhandbrake -lavformat -lavfilter -lavcodec -lavutil -ldav1d -lswresample -lpostproc -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lswscale -ltheoraenc -ltheoradec -lvpx -lz -lbz2 -lbluray -lass -lfontconfig -lfreetype -lxml2 -ljansson -lopus -lspeex -llzma"
|
|
+HB_LIBS="-L../../libhb $HB_LIBS -lhandbrake -lavformat -lavfilter -lavcodec -lavutil -ldav1d -lswresample -lpostproc -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lswscale -ltheoraenc -ltheoradec -lvpx -lz -lbz2 -lbluray -lass -lfontconfig -lfreetype -lxml2 -ljansson -lopus -lspeex -llzma"
|
|
HB_CPPFLAGS="$HB_CPPFLAGS $HBINC"
|
|
|
|
PKG_CHECK_MODULES([x264], [x264], sys_x264=yes, sys_x264=no)
|
|
@@ -236,6 +236,9 @@ case $host in
|
|
HB_LIBS="$HB_LIBS -lbcrypt -lregex -luuid -lole32"
|
|
;;
|
|
*-*-freebsd*)
|
|
+ HB_LIBS="$HB_LIBS -lpthread"
|
|
+ ;;
|
|
+ *-*-openbsd*)
|
|
HB_LIBS="$HB_LIBS -lpthread"
|
|
;;
|
|
*-*-netbsd*)
|