[vlc-commits] commit: Fix dvdread compilation. ( Rémi Duraffort )

git at videolan.org git at videolan.org
Wed Aug 18 21:17:57 CEST 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Aug 18 21:16:07 2010 +0200| [bd2f90bc9eae147250216e1738f27070811aa0b9] | committer: Rémi Duraffort 

Fix dvdread compilation.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bd2f90bc9eae147250216e1738f27070811aa0b9
---

 configure.ac |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index cb91f57..22155b4 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



More information about the vlc-commits mailing list