From patchwork Mon Jun 26 15:11:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 106343 Delivered-To: patch@linaro.org Received: by 10.140.101.48 with SMTP id t45csp138356qge; Mon, 26 Jun 2017 08:12:34 -0700 (PDT) X-Received: by 10.99.0.212 with SMTP id 203mr585939pga.259.1498489954023; Mon, 26 Jun 2017 08:12:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498489954; cv=none; d=google.com; s=arc-20160816; b=qevRiiDIX8eNoP+lDET+jY+EdZ+uxEir2IBjTzsDvnm/VkTA4H4AbVYmILzxLdgQXX Ok51J0S4h0+UZUngCYKoszZLiBSkLSpxUjXqVYnpHmNKtMlNXnLFWEF9cIN2LXBhcoAn sNVoK1ubsEDmf5X+cDGgHieHVLQl02ybOZkP0epl9cRjysKM3W1/5JApYpqk1h9y2APB akLbHcwyzDPZPikEy0bQIvkFF3qWv+NtlLYBhOHXm/nTDKI31tXNGgoeTIiyeOENT0xs 04h2XgNWoGKSUgDdo/8yGF5qyl2WwcseTBqS3bNkm5RuPbBvvx3mz/PaCtYq5gaatQqb CJYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=9mNdA3FPzAHnNoNwmix02J6p4r6QHNNxugcTEvQ3CZs=; b=OnLxLf3QT9Xtz41IsMurDlvQiF1St/fttATdnd7bUXVAR8LjBD3sIv/3XXiwJhq84j NJQHwmb8XNTTSAZG9Bvg5tXvPMSGFan9StjlTZTT0nLk8b7cxi5fqE2DtpjtT3xNiZ1z Fa67bQ/hBVnU3q4dpy71ksNXESblItVVO+9HMXiD8OoFzr84SzAZ2IIW7G5guljFLBrK w2vuLUY4mvvaf1VXJzGb0/DyEdWIshz+BgNl6cD0auIiPu5b9MfmjpAa7sAiYrCsCc1n 7I3hwj/DztKD1SPAERBNoINb4C/BvWJgZTdp92cnSYILnSMqs2GGCil477YhvgDIV0D3 26eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.b=ZFsO9zQ2; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id b64si184140pga.562.2017.06.26.08.12.33; Mon, 26 Jun 2017 08:12:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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=@intel-com.20150623.gappssmtp.com header.b=ZFsO9zQ2; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id AC0A377FE8; Mon, 26 Jun 2017 15:12:08 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-wr0-f175.google.com (mail-wr0-f175.google.com [209.85.128.175]) by mail.openembedded.org (Postfix) with ESMTP id C9FAF77EA7 for ; Mon, 26 Jun 2017 15:11:31 +0000 (UTC) Received: by mail-wr0-f175.google.com with SMTP id k67so145649496wrc.2 for ; Mon, 26 Jun 2017 08:11:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=6MN4ok8R8A32krZ+oHuXpNfzgFlRWyeXdn8JC1vTHVc=; b=ZFsO9zQ206u294MVb6xsOLxB6UMRqmWsg4KpHpoxXyPAAVRyfZ+u8yb+q8fJc2w1ie EDC4enGnn9JCPEIjd8xzzgOqr1Zwp5DDEQ4roGFcMBPtMcVgguDa+Ij1xJWUpIouAR5z txuo8eWJJRq1v/rEUwkM1qxdH61XpdbMv5SkmcgTHsc7RKz6FrWUx3NG2Nn40do6qHxd dhxooYw/JVPf6m252emoGsw3gsNZyCC/PM6OJ9qw06fdMRFUPZAQDeNHy4criPYZUiTF 99zrzlsI/xNP9qUqxDD+YQrmKUfBlKeWiYybf2uoiVxNgMcr0b7CdTbSoiE5D9q5nnNw 3uEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=6MN4ok8R8A32krZ+oHuXpNfzgFlRWyeXdn8JC1vTHVc=; b=j8VjYXrw5+7PawNfLQXgF6Up3ZTt4YK1vcWd8PCDy2eGV75pOxKzBNX7uq8ahZlqCg EUcE8K/c8+m/Q6sGpb0//lphp++IMBxGBYIPWjFszLFh8IvTPGaFwGH0P48/+fgwk4zG OINPgSog30cS7k86u9OxFqLoDWW4KfQA0Fet08wOD9KKBpvvN5+ZnPdYvJcWhBOzdOgS xQ7FSl5Hx0yb2HdoCHjU2x0Hqy5jWl6pDcu520ioU4V9l5v1pONd+B7523YWUoU6aK2K GcKmBr43rHTI+Jn1z2NYjvjj3/uXlZX/D+LxscJPdiujQPJ9VERKgwj6cqOw9YgUTEd2 1jMw== X-Gm-Message-State: AKS2vOxX7n6OLP0S+p88OQNWtzHZg5BplnzKONaQXzZvxxYcVq2Xd3mE MepnzMUYyHrQ0rgK2kk= X-Received: by 10.223.163.15 with SMTP id c15mr13264938wrb.71.1498489892206; Mon, 26 Jun 2017 08:11:32 -0700 (PDT) Received: from flashheart.burtonini.com (home.burtonini.com. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id d91sm368379wma.7.2017.06.26.08.11.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Jun 2017 08:11:31 -0700 (PDT) From: Ross Burton To: openembedded-devel@lists.openembedded.org Date: Mon, 26 Jun 2017 16:11:14 +0100 Message-Id: <20170626151117.6221-5-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170626151117.6221-1-ross.burton@intel.com> References: <20170626151117.6221-1-ross.burton@intel.com> Subject: [oe] [meta-oe][PATCH 5/8] meson: export PKG_CONFIG to use pkg-config-native for native builds X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org By default Meson uses 'pkg-config' in native builds but as that is the cross pkg-config, export PKG_CONFIG to use the correct pkg-config-native binary. Signed-off-by: Ross Burton --- meta-oe/classes/meson.bbclass | 1 + 1 file changed, 1 insertion(+) -- 2.11.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/classes/meson.bbclass b/meta-oe/classes/meson.bbclass index 8f384c127..b5b2b3b7e 100644 --- a/meta-oe/classes/meson.bbclass +++ b/meta-oe/classes/meson.bbclass @@ -14,6 +14,7 @@ export CC = "${BUILD_CC}" export CXX = "${BUILD_CXX}" export LD = "${BUILD_LD}" export AR = "${BUILD_AR}" +export PKG_CONFIG = "pkg-config-native" def noprefix(var, d): return d.getVar(var, True).replace(d.getVar('prefix', True) + '/', '', 1)