[Buildroot] 2011.02 pkg-config problems?

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Mar 10 11:26:59 UTC 2011

On Thu, 10 Mar 2011 12:17:43 +0100
Peter Korsgaard <jacmet at uclibc.org> wrote:

> Thanks for reporting this. The problem is that pkg-config doesn't have
> any explicit support for cross compilation, so we have to guess if a
> given variable refers to a target path or a host path. For this
> specific problem you could work around it by passing an explicit
> --with-fontrootdir=/usr/share/fonts/X11 to the configure step of the
> xfonts packages, but I have fixed pkg-config in git to only prepend
> the sysroot location when the includedir + libdir variables are
> requested, and not all variables like we did for 2011.02:
> http://git.buildroot.net/buildroot/commit/?id=117a8ea0eaabe

Maybe we need to release 2011.02.1 with this fix ?

Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.

More information about the buildroot mailing list