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

Reinhard Tartler siretart
Thu Oct 23 09:56:50 CEST 2008

M?ns Rullg?rd <mans at mansr.com> writes:

> Luca Barbato <lu_zero at gentoo.org> writes:
>> On 23-10-2008 0:36, M?ns Rullg?rd wrote:
>>> Maybe you are too far gone to be saved, but I had to try my best.
>>> I'll try one more time: what CFLAGS could you possibly need to pass
>>> aside from a -I flag to indicate the location of the headers?
>> -pthreads ?
> That is not a standard flag.

Putting arbitary additional information about what a library needs as
you suggest is not standard but very toolchain specific as well.

On the other hand using a tool that maintains that information
externally [1] could take the used compiler into account and add some
compatibilty glue. Sure, pkg-config might not do that today, however it
seems to me that the approach of using an external tool instead of
modifying all existing toolchains on this planet seems to me a more
feasible solution.

[1] .pc files for the pkg-config case.

Reinhard Tartler, KeyID 945348A4

More information about the ffmpeg-devel mailing list