mirror of
https://github.com/videolan/vlc.git
synced 2025-01-27 01:56:19 +08:00
* configure.ac: link dvdcss with dvdread on win32/darwin.
This commit is contained in:
parent
40a4073e30
commit
7b55e81c45
12
configure.ac
12
configure.ac
@ -1221,6 +1221,12 @@ then
|
||||
[ --with-dvdread=PATH libdvdread headers and libraries])
|
||||
AC_ARG_WITH(dvdread-tree,
|
||||
[ --with-dvdread-tree=PATH libdvdread tree for static linking])
|
||||
|
||||
dnl Temporary hack (yeah, sure ;)
|
||||
if test "${SYS}" = "mingw32" || test "${SYS}" = "darwin"; then
|
||||
VLC_ADD_LDFLAGS([dvdread],[-ldvdcss])
|
||||
fi
|
||||
|
||||
if test -z "${with_dvdread}"
|
||||
then
|
||||
if test -z "${with_dvdread_tree}"
|
||||
@ -1272,12 +1278,6 @@ then
|
||||
AC_MSG_ERROR([cannot find ${with_dvdread}/include/dvdread/dvd_reader.h])
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl Temporary hack (yeah, sure ;)
|
||||
if test "${SYS}" = "mingw32" || test "${SYS}" = "darwin"; then
|
||||
VLC_ADD_LDFLAGS([dvdread],[-ldvdcss])
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
dnl
|
||||
|
Loading…
Reference in New Issue
Block a user