0001-Fix-linking-issue-when-disabling-internal-libbluray.patch 999 B

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