unexport PKG_CONFIG_SYSROOT_DIR
authorCharles Manning <cdhmanning@gmail.com>
Sun, 2 Dec 2012 11:13:04 +0000 (11:13 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 3 Dec 2012 00:32:28 +0000 (16:32 -0800)
If this is not done then pkg-config can get confused.

Thomas and Arnout really deserve the credit for this - I just did
the testing.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Makefile

index b394fd54fa7b9419f1c68775131a39b20214d589..87943b8ed4d85458d841ff4247dc8700ec799170 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -172,6 +172,7 @@ export HOSTCC_NOCCACHE HOSTCXX_NOCCACHE
 
 # Make sure pkg-config doesn't look outside the buildroot tree
 unexport PKG_CONFIG_PATH
+unexport PKG_CONFIG_SYSROOT_DIR
 
 # Having DESTDIR set in the environment confuses the installation
 # steps of some packages.