Patchwork unexport PKG_CONFIG_SYSROOT_DIR

login
register
mail settings
Submitter Charles Manning
Date Dec. 2, 2012, 9:13 p.m.
Message ID <1354482784-31167-1-git-send-email-cdhmanning@gmail.com>
Download mbox | patch
Permalink /patch/203253/
State Accepted
Commit 4f607edffda4835884f1f013f5d0ae0cb2eadeb7
Headers show

Comments

Charles Manning - Dec. 2, 2012, 9:13 p.m.
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>
---
 Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Peter Korsgaard - Dec. 3, 2012, 1:22 a.m.
>>>>> "Charles" == Charles Manning <cdhmanning@gmail.com> writes:

 Charles> If this is not done then pkg-config can get confused.
 Charles> Thomas and Arnout really deserve the credit for this - I just did
 Charles> the testing.

Committed, thanks.

Patch

diff --git a/Makefile b/Makefile
index 21aa054..758453a 100644
--- 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.