[FFmpeg-devel] [PATCH]: configure: correct pkgconfig to reflect --build-suffix

Charles Yates charles.yates
Wed Nov 12 23:00:24 CET 2008

2008/11/12 Diego Biurrun <diego at biurrun.de>

> On Mon, Nov 10, 2008 at 09:25:30PM +0100, Charles Yates wrote:
> >
> > The attached patch attempts to reflect the build suffix in the generated
> > pkg-config files.
> >
> This is pointless.  If you are using $build_suffix everywhere
> unconditionally, there is no need to pass it as a parameter.

Fair enough - alternative patch with global use of build_suffix attached.
Original intention of the patch was to avoid the reliance on a global -
agreed though, it's simpler this way :-).

Also catches the uninstalled case which the previous patch missed (though it
was wrong before and wrong now - if you configure --disable-static you still
get Libs: ${libdir}/libavblah.a in the *-uninstalled.pc files).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: pkgconfig.patch
Type: text/x-diff
Size: 610 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081112/2b95cfce/attachment.patch>

More information about the ffmpeg-devel mailing list