[RFC] [PATCH] pkg-config default search pathes

Silvio Fricke
2014-08-11T14:33:22Z

Hi,

please review this patch.
I'm a little bit unsure if this patch is technicaly state-of-the-art because
kbuild does it right. The problem is that some cross-toolchains (on my box is
yocto installed) change the pkg-config search pathes to do some package-config
setups for cross compiling.
But the init of the toolchain manipulates PKG_CONFIG_SYSROOT_DIR and
PKG_CONFIG_PATH variables that a pkg-config call searches in the wrong place to
find the package and gives back the wrong values which we use to test the
availability of ncurses installation and this break the [x,g,menu]config.

Some recommendations for this?

Cheers and thx,
Silvio

Silvio Fricke (1):
kconfig: menuconfig: pkg-config should base upon default configuration

scripts/kconfig/lxdialog/check-lxdialog.sh | 3 +++
1 file changed, 3 insertions(+)

--
2.0.3