[FFmpeg-devel] [PATCH] doc/faq: explain pkg-config basic setup.
george at nsup.org
Tue Dec 23 12:57:45 CET 2014
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
> 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
I added to my TODO list a note about automatically detecting that case, but
I do not have a clean cross-compile environment to test extensively yet.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1773 bytes
Desc: not available
More information about the ffmpeg-devel