[FFmpeg-devel] [PATCH] define private libs properly in pkgconfig files
Tue May 6 07:27:58 CEST 2008
Diego Biurrun wrote:
> On Tue, May 06, 2008 at 12:08:51AM +0300, Anssi Hannula wrote:
>> Currently all the libraries ffmpeg links against are listed in "Libs:"
>> of *.pc files.
>> However, those libraries need to be specified only when a program is
>> linked statically against ffmpeg, not when ffmpeg is a shared library.
>> Therefore one should use "Libs.private:" instead of "Libs:".
>> Quote from pkg-config man page:
>>> This line should list any private libraries in use. Private libraries are libraries which are not exposed
>>> through your library, but are needed in the case of static linking.
>> Patch attached.
> This was too confusing. I have rewritten the two pkg-config generation
> commands into one simpler one. Please update your patch, it should be
> far less intrusive now.
Updated, tested and attached.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel