Win32 cross compilation is broken with libvdpau but without libx11
$> ../extras/package/win32/configure.sh --host=i686-w64-mingw32
[...]
checking for X... no
checking X11/Xlib.h usability... no
checking X11/Xlib.h presence... no
checking for X11/Xlib.h... no
checking for VDPAU... yes
configure: error: VDPAU requires Xlib (X11).
apt-get remove libvdpau-dev
$> ../extras/package/win32/configure.sh --host=i686-w64-mingw32
[...]
checking for X... no
checking X11/Xlib.h usability... no
checking X11/Xlib.h presence... no
checking for X11/Xlib.h... no
checking for VDPAU... no
checking for WAYLAND_CLIENT... no
[...]
libvlc configuration
--------------------
version : 3.0.0-git
system : mingw32
architecture : i686 mmx sse sse2
optimizations : yes
vlc aliases : cvlc rvlc qvlc svlc
To build vlc and its plugins, type `make', or `./compile' if you like nice colors.
IMHO x11/VDPAU shouldn't be checked to begin with when compiling for win32/win64