[FFmpeg-devel] [PATCH]configure: libvmaf depends on pthreads

Carl Eugen Hoyos ceffmpeg at gmail.com
Sun Nov 26 16:09:35 EET 2017


2017-11-26 15:06 GMT+01:00 Derek Buitenhuis <derek.buitenhuis at gmail.com>:
> On 11/26/2017 2:02 PM, Carl Eugen Hoyos wrote:
>> The way I understand (Linux) dynamic libraries, one implies
>> the other.
>
> The problem is that libvmaf's .pc file put all of its deps in
> Libs instead of splitting them out into Libs.private, which
> is used only when static linking.

> Stuff like -lpthreads is
> only needed if static linking, and stuff like -lstdc++ is
> just wrong on any system that doesn't use libstdc++ (and
> also only used for static linking).

As said before, it is non-trivial to find such a system
(it worked fine here on osx when I tested last).

> I assume this is what Nicholas is referring to.

So is the patch ok?

Carl Eugen


More information about the ffmpeg-devel mailing list