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

Diego 'Flameeyes' Pettenò flameeyes
Wed Oct 22 22:43:58 CEST 2008

M?ns Rullg?rd <mans at mansr.com> writes:

> I admit that the dependencies of static libraries can be a problem.  I
> still disagree that pkgconfig is anything resembling a solution.  A
> much better solution would be to include a file listing the
> dependencies *inside* the library archive.  The "ar" format used on
> just about all systems allows arbitrary files to be included, and
> linkers simply ignore files they do not recognise.  It would thus be a
> simple matter to add support for such a dependency file to your
> favourite linker, without worrying about breaking others (presumably
> they would adopt the same feature if it became popular).

*cough* you mean like libtool .la files? No thank you ;)

> Anything that needs installation-specific CFLAGS to work is broken by
> design.  The only thing you could *ever* need to tell the compiler is
> where to find the headers, and relying on pkgconfig to supply this
> merely transforms the problem into that of finding the pkgconfig file
> for the library (and hope you found the right one), so it's turtles
> all the way down.

Can we just agree we disagree on this point :) I'll do my best to see
that pkg-config support in Gentoo gets fixed by the way.

Diego "Flameeyes" Petten?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081022/a1349dd8/attachment.pgp>

More information about the ffmpeg-devel mailing list