From patchwork Sun Aug 7 02:14:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 17001 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 145F1BE173 for ; Sun, 7 Aug 2022 02:15:13 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id BF8FE6332E; Sun, 7 Aug 2022 04:15:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1659838512; bh=YdDrRki1KgPmCcZK8nxcmSBOu9X86AgIXvUzcqi/uSI=; 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=bOt5EM6cVKePlca0nppIKDxZCHHIbDsRYJs/uzLYI1XeihpHev8fN9bNao0naegKA I4zlqn/HmHMl6g21qqmrJIVySuca/NrHxSj6nO0NREk4bQLMyJ41LoEF4k5vN3uMZf Or1nGsd9/bi2o1j+8cRCqg2E7wNlhSSD5htzzvs0cpp6lXJ8Pd39b5SI79NHZl469K RXHHPfPUIjKsv/5Wcdf4oUI2xS4nFsd1lke4+KGpy3w9jrEH9hcu97m5RUPDZh0Uu0 BqdpcMj30UgJPFIfA4gQgRl6LTHMW3HlnKXfgl5ESl42IO074eF0yT9hm8f1zCjQJp brkUhA2JDLzQg== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id EE6AE61FAA for ; Sun, 7 Aug 2022 04:15:09 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="kB+KMUP5"; 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 63904749 for ; Sun, 7 Aug 2022 04:15:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1659838509; bh=YdDrRki1KgPmCcZK8nxcmSBOu9X86AgIXvUzcqi/uSI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kB+KMUP52lOhcY2iy9AfejHOZHlHX3pzy1fOJnHAwKS3w34knoX18nGhOAcVvfgut 04R2t6RzesjxlrRre0bzwdNgTm77QyYxMd9C1ksxLNN+OdBU/gYYZICyaBUbOu890Q nF9wcZsloyrM3c733uP3tZrjLilquufabyO8UxqQ= To: libcamera-devel@lists.libcamera.org Date: Sun, 7 Aug 2022 05:14:54 +0300 Message-Id: <20220807021456.9578-4-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220807021456.9578-1-laurent.pinchart@ideasonboard.com> References: <20220807021456.9578-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 3/5] 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 --- 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 8580feed3846..e144d4f9ae70 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 : false) +libgnutls = dependency('gnutls', required : false) libudev = dependency('libudev', required : false) libyaml = dependency('yaml-0.1', required : false)