[FFmpeg-devel] [PATCH] doc/faq: explain pkg-config basic setup.

Michael Niedermayer michaelni at gmx.at
Tue Dec 23 14:21:15 CET 2014

On Tue, Dec 23, 2014 at 12:57:45PM +0100, Nicolas George wrote:
> Le tridi 3 nivôse, an CCXXIII, Michael Niedermayer a écrit :
> > i think this is a bit misleading
> > because this doesnt result in working pkgconfig for cross compiling
> > you just get
> > WARNING: /usr/powerpc-linux-gnu/bin/pkg-config not found, library detection may fail.
> Right, I had not noticed that configure applies the cross-prefix to
> pkg-config too.
> > now if you write a /usr/powerpc-linux-gnu/bin/pkg-config wraper
> > script then this would set PKG_CONFIG_LIBDIR already
> > the faq should explain the need for such wraper script and how to
> > write one, or configure should work automatically with the non cross
> > pkgconfig. that is unless theres a easier way to get pkg config to
> > work for cross compiling.
> I have added explanations in the FAQ. Basically, the quickest way is
> "--pkg-config=pkg-config" to use the host's pkg-config, and then set

did you attach the correct patch ?
i dont see a mention on "--pkg-config=" in it


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141223/1ffa7082/attachment.asc>

More information about the ffmpeg-devel mailing list