[FFmpeg-devel] pkgconfig Cflag includedir: a suggestion

Diego Biurrun diego
Sun May 4 13:32:08 CEST 2008


On Sun, May 04, 2008 at 07:24:40AM -0400, sean darcy wrote:
> For some while ffmpeg has been installing its include files in 
> /incdir/libname/, for instance /usr/include/libavcodec/avcodec.h.
> 
> But the pkgconfig .pc files point to just /incdir, /usr/include.
> 
> I suggest that we change both Cflags to:
> Cflags: -I\${includedir}/$name
> 
> which enables me to build kino.

No, you need to update your include paths.

> ( BTW, why does configure create _uninstalled_ .pc files?)

It's this pkg-config weirdness..

Diego




More information about the ffmpeg-devel mailing list