Commit a9dc94c3 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Force linking against user32 if dxva2 is enabled.

Fixes compilation with vfwcap disabled.
Reported and tested by Bernhard Döbler, programmer bardware de

Reviewed-by: Matt Oliver
parent bc8e044d
......@@ -5373,7 +5373,7 @@ if test $target_os = "haiku"; then
fi
enabled_all dxva2 dxva2api_cobj CoTaskMemFree &&
prepend ffmpeg_libs $($ldflags_filter "-lole32") &&
prepend ffmpeg_libs $($ldflags_filter "-lole32" "-luser32") &&
enable dxva2_lib
! enabled_any memalign posix_memalign aligned_malloc &&
......
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