[Ffmpeg-devel] [PATCH] install libav(codec|format).pc/libpostproc.pc

Jacob Meuser jakemsr
Sun May 15 01:55:22 CEST 2005


On Wed, May 11, 2005 at 12:43:19PM +0200, j at v2v.cc wrote:
> attached patch creates pkg-config .pc files that reflect
> the configuration of libavcodec/libavformat and libpostproc. 
> with that it would be possible to use libav* better as 
> a shared library since external dependencies are taken care. 
> linking to the installed version of libav* would be as easy as:
> 
> gcc myproject.c -o myproject `pkg-config --cflags --libs libavcodec
> libavformat`

this would be a very nice addition to ffmpeg :)

> i also added *-uninstalled.pc files that allow you to link to 
> the uninstalled libs.

is $pcfiledir ever defined there?  won't it end up looking in
'/libavcodec' and '/libavformat'?

-- 
<jakemsr at jakemsr.com>





More information about the ffmpeg-devel mailing list