Commit fd841791 authored by Rafaël Carré's avatar Rafaël Carré

dvdcss: only use darwin libraries on darwin

simplify
parent 08b3a966
......@@ -1818,13 +1818,9 @@ darwin_libdvdcss_extralibs="-Wl,-framework,CoreFoundation -Wl,-framework,IOKit"
libdvdcss_extralibs=""
test "${SYS}" = darwin && libdvdcss_extralibs="${darwin_libdvdcss_extralibs}"
AC_CHECK_LIB(dvdcss, dvdcss_interface_2, [
VLC_ADD_LIBS([dvdread], [-ldvdcss])
VLC_ADD_LIBS([dvdnav], [-ldvdcss])
if test "${SYS}" = darwin; then
VLC_ADD_LIBS([dvdread], "${darwin_libdvdcss_extralibs}")
VLC_ADD_LIBS([dvdnav], "${darwin_libdvdcss_extralibs}")
fi
],, "${darwin_libdvdcss_extralibs}")
VLC_ADD_LIBS([dvdread], -ldvdcss "${libdvdcss_extralibs}")
VLC_ADD_LIBS([dvdnav], -ldvdcss "${libdvdcss_extralibs}")
],, "${libdvdcss_extralibs}")
dnl
dnl libdvdnav plugin
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment