[FFmpeg-devel] [PATCH 1/3] configure: improve pkg-config support
Sun Mar 6 17:50:50 CET 2011
Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:
> On date Sunday 2011-03-06 13:57:52 +0000, Mans Rullgard encoded:
>> This adds helper functions for checking packages with pkg-config
>> and managing the associated flags.
>> Note that pkg-config use is still discouraged due to widespread
>> poor practices resulting in broken flags in many situations. A
>> few badly designed packages require flags only obtainable using
>> pkg-config, and these functions are intended for those cases.
> Just for curiosity, which practice would you recommend for determining
> the FFmpeg flags for an application?
> I always used pkg-config for such purposes, which is especially handy
> for handling complex dependencies on external libraries.
Use shared libraries with proper NEEDED entries, don't install headers
in bizarre directory structures, and everything will just work.
mans at mansr.com
More information about the ffmpeg-devel