Commit 7d6db3ce authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

CrystalHD: support for opening the BCM dll under Win32

On a normal Win32 released build, we aren't going to ship the BCM dll
or ask our users to install the good version of the dll at the right
place and recompute the plugins cache...
Therefore, we need to open the dll and resolve the symbols.
parent 0ff3d0e6
......@@ -2462,12 +2462,16 @@ if test "${enable_crystalhd}" == "yes"; then
VLC_ADD_PLUGIN([crystalhd])
VLC_ADD_LIBS([crystalhd], [-lcrystalhd])
],[
AC_CHECK_HEADERS(libcrystalhd/bc_drv_if.h, [
if test "${SYS}" = "mingw32" ; then
AC_CHECK_HEADERS(libcrystalhd/bc_dts_defs.h, [
VLC_ADD_PLUGIN([crystalhd])
VLC_ADD_LIBS([crystalhd], [-lbcmDIL])
AC_CHECK_HEADERS(libcrystalhd/bc_drv_if.h, [
VLC_ADD_LIBS([crystalhd], [-lbcmDIL])
])
],[
AC_MSG_ERROR("Could not find CrystalHD development headers")
])
fi
])
fi
......
This diff is collapsed.
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