From 27812b1245d525604e9e3da09ae45134595146b9 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Wed, 13 Nov 2019 16:07:39 +0100 Subject: [PATCH 1/2] Fix linking issue when disabling internal libbluray Without that fix we have: /usr/bin/ld: /home/gnutoo/work/projects/parabola/handbrake/build//libhb/libhandbrake.a(ports.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5' /usr/bin/ld: /usr/lib/libdl.so.2: error adding symbols: DSO missing from command line Signed-off-by: Denis 'GNUtoo' Carikli --- gtk/configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/configure.ac b/gtk/configure.ac index 92aabcbe8..82e8d88ce 100644 --- a/gtk/configure.ac +++ b/gtk/configure.ac @@ -232,6 +232,7 @@ case $host in HB_LIBS="$HB_LIBS -pthread" ;; *-*-linux*) + HB_LIBS="$HB_LIBS -ldl -lpthread" if test "x$use_qsv" = "xyes" ; then HB_LIBS="$HB_LIBS -lva -lva-drm" fi -- 2.24.0