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

Michael Niedermayer michaelni at gmx.at
Tue Dec 23 12:32:59 CET 2014


On Tue, Dec 23, 2014 at 10:35:12AM +0100, Nicolas George wrote:
[...]

> +If you need to @emph{replace} @command{pkg-config}'s search list
> +(typical use case: cross-compiling), set it in
> + at code{$PKG_CONFIG_LIBDIR}:
> +
> + at example
> +export PKG_CONFIG_LIBDIR=/home/me/cross/usr/lib/pkgconfig:/home/me/cross/usr/local/lib/pkgconfig
> + at end example

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.

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.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
-------------- 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/184a0112/attachment.asc>


More information about the ffmpeg-devel mailing list