[FFmpeg-devel] [PATCH] define private libs properly in pkgconfig files

Anssi Hannula anssi.hannula
Thu May 8 03:46:53 CEST 2008

j at v2v.cc wrote:
> On Tue, 2008-05-06 at 10:21 +0200, Diego Biurrun wrote:
>> This one was far easier to review, so my rewrite was successful.  Patch
>> applied, thanks a bundle.
> its not quite right now, if libav* is only installed as a static .a
> file, they need to be in the Libs: line. As for the -uninstalled.pc
> files. they are always linked statically since thats what they are for,
> point your PKG_CONFIG_PATH to your ffmpeg build folder and link against
> an uninstalled version. attached patch fixes the uninstalled case,
> the installed version is still broken unless ffmpeg is configured with
> --enable-shared

If you are linking statically, you have to use '--static' option of
pkg-config. Then all libraries are printed.

Anssi Hannula

More information about the ffmpeg-devel mailing list