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
> +@code{$PKG_CONFIG_LIBDIR}:
> +
> +@example
> +export 
> PKG_CONFIG_LIBDIR=/home/me/cross/usr/lib/pkgconfig:/home/me/cross/usr/local/lib/pkgconfig
> +@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.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to