[FFmpeg-devel] [PATCH] Fix pkg-config detection when using a cross-prefix

Mike Scheutzow mike.scheutzow at alcatel-lucent.com
Mon Jul 2 20:52:53 CEST 2012


Kyle Schwarz wrote:
> As long as the PKG_CONFIG_PATH is set properly the host system libs will 
> not be used.

Not true according to the man page on my linux system.

If you invoke the host's /usr/bin/pkg-config, it's going to search 
/usr/lib/pkgconfig/ after searching the dirs in PKG_CONFIG_PATH.

It could definitely find a host library, which would be very confusing.

I think this patch is a bad idea.


Mike Scheutzow


More information about the ffmpeg-devel mailing list