[vlc-commits] contrib: dvdread: fix dvdcss check on darwin
Rafaël Carré
git at videolan.org
Fri Nov 25 17:51:39 CET 2011
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Fri Nov 25 11:51:15 2011 -0500| [e71614eced3473d552fb696896a8c5cedc056cdc] | committer: Rafaël Carré
contrib: dvdread: fix dvdcss check on darwin
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e71614eced3473d552fb696896a8c5cedc056cdc
---
contrib/src/dvdread/dvdread-css-static.patch | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/contrib/src/dvdread/dvdread-css-static.patch b/contrib/src/dvdread/dvdread-css-static.patch
index f73d02d..a6fc9ce 100644
--- a/contrib/src/dvdread/dvdread-css-static.patch
+++ b/contrib/src/dvdread/dvdread-css-static.patch
@@ -49,7 +49,7 @@
+ *darwin*) CSS_LIBS="${CSS_LIBS} -Wl,-framework,CoreFoundation -Wl,-framework,IOKit"
+ ;;
+ esac
-+ AC_CHECK_LIB(dvdcss, dvdcss_interface_2,, AC_MSG_ERROR(You need libdvdcss.so.2 or later))
++ AC_CHECK_LIB(dvdcss, dvdcss_interface_2,, AC_MSG_ERROR(You need libdvdcss.so.2 or later), "${CSS_LIBS}")
+ AC_CHECK_HEADERS(dvdcss/dvdcss.h,, AC_MSG_ERROR(You need libdvdcss (dvdcss.h)))
+fi
+
More information about the vlc-commits
mailing list