From patchwork Wed Sep 4 18:10:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 172951 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp270831ilq; Wed, 4 Sep 2019 11:12:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqzlfjy2GmfDEfTd2SEz7AhghfnlFVEqbwIVu3C92UgxrPvQxkwk1O8DBgDJboej4V9c+BOv X-Received: by 2002:a17:902:aa91:: with SMTP id d17mr40518152plr.74.1567620647786; Wed, 04 Sep 2019 11:10:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567620647; cv=none; d=google.com; s=arc-20160816; b=pJt3LGquyPpMrtTgHJYvFGm8ZPcFeIu/RwbpOG2i/3MgkvM9Jwe/0qmSPGXOT1VJjC BJoYTqb06G5BcFJiav5EiFJTvP1wmDJT272VY1SoNyH1FiI3uEyFt0uNC2VJ1SifgniN bgeuyoZMJnV43m528yNRbdkUIAcHaffxvdiJIf7l84l1O304FctzZj4rGxNGb08TrYq7 RDKN0ru6DlTqK3GHXUpC2D/zpNAhtLPiTx9n1vtaNENgy8OI1x07AbeWa+CKk66hEQqd s8ukBhyEYCBL9uK3OAtvpc0UQ2RxKySi27GX39QTFuWxWK1R0MbpwUi+/OQK4WWg70J7 bcPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=l1uFH0H+HZznn0qRQuLjqaiHfG5AKeb/zKagIJgRSC8=; b=DH3KOFP8lVl8o4sTNmrkdsQ2DnGiPfjfHWROxNCQuIUnOf34ZWmAtuklyc+3Jpsqln 3xzQEzJ9WEtvUKEeFHiJdA9npBIdGjpxKCHf/+GP3B9TGFNPEAO1pXY9pjSW4tCnQh94 wI58XBegOhbLbUUA9hGKqL/8VdMfaxxxia0T6tC30CJelTlousB4bcL38IBN0yasKOdI hfgrOVD3lXHfB19yTTvwzK9c4Hps6mDeShfCik9KbXmBGqFXNhmIl3VQ2L9jIxIc8spv Vxew/iWij2qXnCcOlbUjM6nIOInsiLGELEbsKIAJwWp9v2k6aBeWmlp/fFGqE33qHoz1 AUtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=vINHhAk6; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id o14si18022595pgk.45.2019.09.04.11.10.46; Wed, 04 Sep 2019 11:10:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=vINHhAk6; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id B143B7F25B; Wed, 4 Sep 2019 18:10:43 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mail.openembedded.org (Postfix) with ESMTP id E8DD27F22D for ; Wed, 4 Sep 2019 18:10:24 +0000 (UTC) Received: by mail-pf1-f171.google.com with SMTP id h195so7192883pfe.5 for ; Wed, 04 Sep 2019 11:10:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Ocdpli9FrHsVpdhi0O6w8zl6unT0eJuML9+qGCFMfsU=; b=vINHhAk6x63GDsjU28kmsceprvc9vIDiuDR8/bjIzlcCUlkXXMjYFpS1hxeCOAlIu+ W4LZkfDXxlh4dJhUZcuo1ER65pcKvuYQBrm/4kSk7kOTzohp36UcJWt2NMbFT8F2iP0d 6eWAfGyY4ShwfWq3pomSXCG5z3GQOV04ZuOfLuCFgXYyAL1eJj150aasnR731+0bwUkJ aGeZYYw+T9gOyQWH0VZNWt+0Zx1+kwoXtUO1ZqL0w058e2yf4/FlNUQFkDd3BpfRnbEy 4HvdkMRKlbqvqloJf8/HwEGwVQOqitOqr7wltZt7O3Lq7k3Fvl7yznCjmCf8wevCJvfq efRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Ocdpli9FrHsVpdhi0O6w8zl6unT0eJuML9+qGCFMfsU=; b=b7IomYVZWwIV2m+TA3scFnJ0Yvzb35/zZc8sNbHVBii8Kb982XcjShlLKrho+ZaUZH yJS9fnGxTgmt3o8DTDCKCYArjIsyJJpjOCUSPa9x7duGb1fT9up3BPqIdDUgB3AtBmks D2iqnpa/E8krqch/zPZKxdNSBtzDBr2teEUM3UMwDmkqmcTGAj/Opjmhy2PzZxenSQC4 RFK4OPuxkhLUNPfRS5kqhrAtFXOytF8EqPMc8pX8JLaMuzu+GeJzjKsSG2eolo26oHO6 REbv0K5GuuvDKAGGMAC9ADw9HvJJ42zI/g5JGGIG5PAYxr8EMTzLImnMWQ8cfgx25LRX yszQ== X-Gm-Message-State: APjAAAV0h+nqPNsmYcdUXQ7YmljEXhIfBq5GUKl8MC6AF3/CBSOPs8Kp 8NpPIJWNUvfB9zbZVmt50ZTunl9Dq14= X-Received: by 2002:a65:5342:: with SMTP id w2mr35842308pgr.261.1567620625634; Wed, 04 Sep 2019 11:10:25 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net (c-73-71-176-3.hsd1.ca.comcast.net. [73.71.176.3]) by smtp.gmail.com with ESMTPSA id i9sm18764688pgg.38.2019.09.04.11.10.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Sep 2019 11:10:24 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 4 Sep 2019 11:10:09 -0700 Message-Id: <20190904181009.8374-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190904181009.8374-1-raj.khem@gmail.com> References: <20190904181009.8374-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 2/2] python3native: export PYTHON_LIBRARY and PYTHON_INCLUDE_DIR 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: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta/classes/python3native.bbclass | 3 +++ 1 file changed, 3 insertions(+) -- 2.23.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/python3native.bbclass b/meta/classes/python3native.bbclass index a3acaf61bb..b056378f69 100644 --- a/meta/classes/python3native.bbclass +++ b/meta/classes/python3native.bbclass @@ -9,6 +9,9 @@ DEPENDS_append = " python3-native " export STAGING_INCDIR export STAGING_LIBDIR +export PYTHON_LIBRARY="${STAGING_LIBDIR}/${PYTHON_BINABI}" +export PYTHON_INCLUDE_DIR="${STAGING_INCDIR}/${PYTHON_BINABI}" + export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata" # suppress host user's site-packages dirs.