From patchwork Sun Dec 2 21:13:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charles Manning X-Patchwork-Id: 203253 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 42C412C0081 for ; Mon, 3 Dec 2012 08:13:28 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B4404A0133; Sun, 2 Dec 2012 21:13:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SL4JDKP037PR; Sun, 2 Dec 2012 21:13:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 5D0CAA00BC; Sun, 2 Dec 2012 21:13:23 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 57DC28F74A for ; Sun, 2 Dec 2012 21:13:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 50533898DE for ; Sun, 2 Dec 2012 21:13:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZNZ6R2JgHI5u for ; Sun, 2 Dec 2012 21:13:21 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pb0-f43.google.com (mail-pb0-f43.google.com [209.85.160.43]) by whitealder.osuosl.org (Postfix) with ESMTPS id 982DA80C1B for ; Sun, 2 Dec 2012 21:13:21 +0000 (UTC) Received: by mail-pb0-f43.google.com with SMTP id um15so1613334pbc.16 for ; Sun, 02 Dec 2012 13:13:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=LqC+UXa/IxoW+hvOEdRu7XaUXYd2uQV15y+EMFkA9hI=; b=fpMy+P4I5Qd9cD2s/4ROx1dmZ+4sKG6YCIHbTqngzNE3Zq6TcFcWP0L56pX3A4RiXI bqRhVd3f9lI4AAi/gzR2DUV4PGO7IrjmY3kHtowUDCCCK1xpoX/1zMILf6CBePi4pjxv vd2hpm5/nX3bT3Ofy2J3u4n8Gs2MB7FoF6tqV64XXUNy5LHgHFnJNj4xfKaGpXMR5NJS NzRiWJ373KeoWFYIOPbqK97sO39V2oRTm2WqJLIuIdCZXwwuk3J2JDCcI78gfB65hIpz SikdcdV8xaF13GtcZ+e1mrSV5IfZvX1QQ4iGrbgiSQnyTnZbHPt2dlR0eSxiGP6sHtXg +i5g== Received: by 10.66.79.194 with SMTP id l2mr20667736pax.68.1354482801233; Sun, 02 Dec 2012 13:13:21 -0800 (PST) Received: from localhost.localdomain (125-237-130-33.jetstream.xtra.co.nz. [125.237.130.33]) by mx.google.com with ESMTPS id vo8sm6812627pbc.16.2012.12.02.13.13.18 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 02 Dec 2012 13:13:20 -0800 (PST) From: Charles Manning To: buildroot@busybox.net Date: Mon, 3 Dec 2012 10:13:04 +1300 Message-Id: <1354482784-31167-1-git-send-email-cdhmanning@gmail.com> X-Mailer: git-send-email 1.7.1 Subject: [Buildroot] [PATCH] unexport PKG_CONFIG_SYSROOT_DIR X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net 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 --- Makefile | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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.