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

Reinhard Tartler siretart
Wed Oct 22 14:28:22 CEST 2008

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

>> A properly-configured pkg-config executable shouldn't send it anywhere;
>> standard non-crosscompiling pkg-config never returns -I/usr/include or
>> -L/usr/lib (or -L/usr/lib64 on amd64 multilib systems); a
>> properly-configured crosscompiling pkg-config will do the same...
> Does such a thing exist?  The link Reinhard posted suggests that it does
> not.

The link that I posted actually says this at the very top:

This document summarises the proposal for adding cross compilation
support to pkg-config. Some people currently cross compile with
pkg-config, but it requires knowledge of extra pkg-config specific
environment variables. 

So pkg-config develoeprs claim it not to be broken beyond any
recognition for the cross compiling case, but you have to "know extra
pkg-config specific environment variables". I assume that that Diego's
suggestion to use "${cross_prefix}pkg-config" uses shell wrappers, that
actually set these internal environment variables right.

I can fully understand that this can be frustrating having to learn how
a tool works internally before using it, but that itself alone does not
qualify it as totally broken.

FWIW, I did not have any problems with pkg-config yet but it was rather
useful to me in the past. However I didn't do any serious
cross-compiling projects yet, so YMMV.

Reinhard Tartler, KeyID 945348A4

More information about the ffmpeg-devel mailing list