Closed BlueSwordM closed 3 years ago
Has anyone encountered this issue?
The issue has been fixed on my end.
I built dav1d with Clang/LLVM statically using LTO, and GCC wasn't having any of it with that.
I just added `--cc=clang --cxx=clang++
to the ffmpeg options, and that fixed everything.
just sudo apt-get install libdav1d-dev solve the problem
Describe the bug When configured normally, mpv-build's ffmpeg fails to find the dav1d version when the decoder is built with only static libraries in mind. When building mpv-build, the usual error pops up:
ERROR: dav1d >= 0.5.0 not found using pkg-config
To Reproduce
--default-library=static
https://code.videolan.org/videolan/dav1d--enable-libdav1d
in the ffmpeg options.Expected behavior Like externally built ffmpeg, mpv-build's ffmpeg should be able to find the dav1d package statically built using pkgconfig.
Required Information
mpv-build with mpv Git as of September 5th 2021. libdav1d 0.9.2
Operating system: Openmandriva 4.3 RC with Kernel 5.13
Console Output
Build log from config.log: https://pastebin.com/KLcFXRv1