[Buildroot] [PATCH] pkgconf: Add a symlink to the GNU_TARGET_NAME-pkg-config
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Mar 1 08:14:03 UTC 2016
Peter,
On Tue, 01 Mar 2016 00:09:34 +0100, Peter Korsgaard wrote:
> > What I dislike with the current setup is that if you add
> > $(HOST_DIR)/usr/bin to your PATH, then any call to pkg-config returns
> > values that are valid only when cross-compiling, which is not
> > necessarily what one would expect.
>
> On the other hand, the situations where you add it to the path are often
> where you _DO_ want to cross compile.
Indeed, but you often end up doing both cross-compilation and native
compilation, and it's pretty easy to get confused by a pkg-config
returning absurd values.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list