From patchwork Mon Aug 8 23:08:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 17032 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id E7E05C3272 for ; Mon, 8 Aug 2022 23:08:47 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 9ED0B6332F; Tue, 9 Aug 2022 01:08:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1660000126; bh=3rEHwkGbYPJDL+pbRQnql4wGhuintIsXWMp+uQGOkqA=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=1zYKL8hF1o+RUVVOZN24oMtyfg9PVK3B7rRD1GZFamR6JnVr7bcpWLsAsD/sB/T9p fxszjWPEYgn2RoBD2eXut7dJSpddgSGdXGYcqKuyCysGTYgWQi6+HAtQ7kWwzPfGer 3BZ/d1DwsgcM88jhrj2u6lmXwWBuOpV33MMizbeRfZzkYU/Bov/3g/vdxXpIxaolao k/3xPN/MUiV5nfrVxaZyAEVc2EuLuJiF1LM27p36ShFj8SGkbaFSZIw8EF/J3FLyTV aW9lGHD8Kf6ruUONEvVKDuO14ZPoeUwoiMbfGESsZjZ29U8I1F00VXT+Xkk/MWgj9H ieTugy5oghCJw== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 81ADC63327 for ; Tue, 9 Aug 2022 01:08:45 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="H9z/JND/"; dkim-atps=neutral Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 192F749C; Tue, 9 Aug 2022 01:08:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1660000125; bh=3rEHwkGbYPJDL+pbRQnql4wGhuintIsXWMp+uQGOkqA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H9z/JND/ONQVmAGt5ewdzTwjpFSc5xwqpGc1sEnh7A6G8XpS6b5wrbQbxSeaoodvp 1pOKK05M1+rsYcbuSZLHZlAcLqYJFazejQ3/UyG9e4XPjZmh3PfFXMa3sfRRjspS3g FyI8NXNguGW2R4ZjkwAcjk9GXK0gsDxuvOF68cB4= To: libcamera-devel@lists.libcamera.org Date: Tue, 9 Aug 2022 02:08:30 +0300 Message-Id: <20220808230833.16275-2-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220808230833.16275-1-laurent.pinchart@ideasonboard.com> References: <20220808230833.16275-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 1/4] libcamera: meson: Use dependency() to find gnutls X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Laurent Pinchart via libcamera-devel From: Laurent Pinchart Reply-To: Laurent Pinchart Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The gnutls library ships a pkgconfig .pc file. Use the standard dependency() method to locate it, instead of cc.find_library(). Signed-off-by: Laurent Pinchart Reviewed-by: Eric Curtin Reviewed-by: Kieran Bingham --- src/libcamera/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build index b57bee7ef6ca..7cc06de4aedc 100644 --- a/src/libcamera/meson.build +++ b/src/libcamera/meson.build @@ -65,7 +65,7 @@ subdir('pipeline') subdir('proxy') libdl = cc.find_library('dl') -libgnutls = cc.find_library('gnutls', required : true) +libgnutls = dependency('gnutls', required : true) libudev = dependency('libudev', required : false) libyaml = dependency('yaml-0.1', required : false)