Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id 9FAC56ED4F for ; Sat, 22 Feb 2014 05:54:38 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.5) with ESMTP id s1M5sd4L019105 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Fri, 21 Feb 2014 21:54:39 -0800 (PST) Received: from PKE-CLU1-D1.corp.ad.wrs.com (128.224.162.204) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.2.347.0; Fri, 21 Feb 2014 21:54:38 -0800 From: Chong Lu To: Date: Sat, 22 Feb 2014 13:54:37 +0800 Message-ID: <1393048477-16896-1-git-send-email-Chong.Lu@windriver.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Subject: [PATCH] python-native: export some environment variables X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Feb 2014 05:54:43 -0000 Content-Type: text/plain Need to export these environment variables for python-config to work. Signed-off-by: Chong Lu --- meta/classes/pythonnative.bbclass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/classes/pythonnative.bbclass b/meta/classes/pythonnative.bbclass index fdd22bb..58a5b5c 100644 --- a/meta/classes/pythonnative.bbclass +++ b/meta/classes/pythonnative.bbclass @@ -4,3 +4,7 @@ inherit python-dir PYTHON="${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}" EXTRANATIVEPATH += "${PYTHON_PN}-native" DEPENDS += " ${PYTHON_PN}-native " +export STAGING_INCDIR +export STAGING_LIBDIR +export BUILD_SYS +export HOST_SYS -- 1.7.9.5