[FFmpeg-devel] [PATCH] Use pkgconfig for dirac libs

Luca Barbato lu_zero
Thu Oct 23 12:22:10 CEST 2008


On 23-10-2008 10:38, M?ns Rullg?rd wrote:
> Using separate files, and certainly files in an entirely different
> directory, is fragile at best.  Your tool, pkgconfig or another, could
> at the very least look inside the library archive for its data files.
> Then there would be no risk of picking the wrong version.

.pc file are put in $libdir/pkgconfig ...

> Furthermore, it is much less work to add a fairly trivial bit of code
> to half a dozen linkers (and pkgconfig only works with gnu tools
> anyway)

and microsoft bad excuse for compiler (aka cl)...

>, than it is to modify each and every package ever written to
> use pkgconfig (even if we pretend for a moment that using it wasn't
> associated with severe mental suffering).

s/modify/replace at least 10 lines of cruft per dep with a single one 
iterable over a list/

Please spend a bit of time checking...

lu




More information about the ffmpeg-devel mailing list