From bd2f90bc9eae147250216e1738f27070811aa0b9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Duraffort?= Date: Wed, 18 Aug 2010 21:16:07 +0200 Subject: [PATCH] Fix dvdread compilation. --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index cb91f57e4e..22155b4c15 100644 --- a/configure.ac +++ b/configure.ac @@ -1850,6 +1850,11 @@ dnl dnl dvdread module: check for libdvdread dnl PKG_ENABLE_MODULES_VLC([DVDREAD], [], [dvdread], [dvdread input module], [auto]) +if test "${enable_dvdread}" != "no" +then + dnl prepend -ldvdcss on OS that need it + AS_CASE(["${SYS}"], [mingw32|darwin|beos], [VLC_ADD_LIBS([dvdread], [-ldvdcss])]) +fi dnl dnl libdvdnav plugin -- 2.39.2