[FFmpeg-devel] [PATCH] Use pkgconfig for dirac libs

Ramiro Polla ramiro.polla
Wed Oct 22 21:41:56 CEST 2008


On Wed, Oct 22, 2008 at 5:27 PM, M?ns Rullg?rd <mans at mansr.com> wrote:
> "Ramiro Polla" <ramiro.polla at gmail.com> writes:
>> On Wed, Oct 22, 2008 at 4:56 PM, M?ns Rullg?rd <mans at mansr.com> wrote:
>>> Luca Barbato <lu_zero at gentoo.org> writes:
>> [...]
>>>> - cflags and ldflags needed to properly link to the package
>>> In a proper installation, to use libfoo, one would typically pass
>>> -lfoo to the linker.
>> And in FFmpeg's case where we need -lz -lwhatever, how can that be
>> communicated to the program that's using FFmpeg?
>>
>> Another example is x264 that might or might not need pthreads...
> That's what documentation is for.

Ok, the documentation says: "This library might depend on libz,
libbz2, libfaac, libfaad, or any combination of those, and might
depend on many more or many less in the future (or not)."

What does the configure check look like and how do you add that to ldflags?

Ramiro Polla




More information about the ffmpeg-devel mailing list