[FFmpeg-devel] [PATCH] configure: require pkg-config for libvorbis

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Jul 4 09:54:23 EEST 2017


On 30.06.2017, at 20:06, Ricardo Constantino <wiiaboo at gmail.com> wrote:

> libvorbis comes with pkg-config files since at least v1.0.1, way back
> in 2003.
> 
> The extra check is needed for shared builds, as the pkg-config file
> for vorbisenc doesn't include vorbis and ogg if --static isn't used.

If you still manually add -lvorbis that IMHO defeats the purpose of using pkg-config the first place.
I don't know if our actual code using vorbisenc depend on libvorbis and libogg, but if it does then the flags for all 3 would have to be requested via pkg-config.


More information about the ffmpeg-devel mailing list