From patchwork Sun Oct 30 16:27:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 17729 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 D9666BD16B for ; Sun, 30 Oct 2022 16:28:20 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 3E5E76301C; Sun, 30 Oct 2022 17:28:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1667147300; bh=ih+AFBPWWxRHsJHSFmOf6mFU4wYjVfxXa0z1ibg/278=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=z5KPk/OrlnYHMLt9dU2UbmHSd21NEIToCGl5TvEE8fba2pcWW2o9MhQ5GAu04mgVO 3PlKvcUrjobcxX1cEHJFn9GZjIv+Y+w23EkHFIYuLy++LszokStEy3wQlziz4nx5QT kW1j3RbpFUVw1L2Z2TJvDtSBYaCT1F/efHwLRgDg8spkKjXTkr3O+AwxzP6NsVLgq+ mk+a8AI8oRuosyMe3sU80m1Cn9Lzpe6bqycPtmyFEHdl/8z14ZMOW+FLFOjcKAey+Y oGWILLUC7G88oIwgXs/hnf08i825BZR5hEG+DpXjeGMjcNWnRF6Rt5eD+A4bLzO52Y v6w6XiFby+QTw== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 6152961F47 for ; Sun, 30 Oct 2022 17:28:19 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="uYPjLb/c"; dkim-atps=neutral Received: from pendragon.ideasonboard.com (85-76-73-45-nat.elisa-mobile.fi [85.76.73.45]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 90D9F706 for ; Sun, 30 Oct 2022 17:28:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1667147299; bh=ih+AFBPWWxRHsJHSFmOf6mFU4wYjVfxXa0z1ibg/278=; h=From:To:Subject:Date:From; b=uYPjLb/cfowFJXI/UkLo+1U5WTzqGmSg78Byk7h7HUbQjW8XynE7nlZl1HXdPFEVv hlqrzpn3DkVao1RjnaOA0aDWbgx8aMJNb53LtRyp3ueUCJoRQ/rcBWiANs+Er9PRyj lUJUUFllDQ7qLC0stz9zP1/NTUifTgaqo/+/Beys= To: libcamera-devel@lists.libcamera.org Date: Sun, 30 Oct 2022 18:27:55 +0200 Message-Id: <20221030162755.6347-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.37.4 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] libcamera: Add todo comment in meson.build about switch to dependency('dl') 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 dlopen() & co. functions are provided by libdl on some systems, and but the C library on others. Starting from version 0.62.0, meson handles this behind the scenes when using dependency('dl'). Add a todo comment to remember we should replace the manual implementation with a dependency() call when updating to meson 0.62.0. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- src/libcamera/meson.build | 1 + 1 file changed, 1 insertion(+) base-commit: 2f0987d1dbd4a1529a701720c11d693a4fcdef3e diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build index 0494e808f7d0..65b0ed047b48 100644 --- a/src/libcamera/meson.build +++ b/src/libcamera/meson.build @@ -67,6 +67,7 @@ subdir('proxy') null_dep = dependency('', required : false) +# TODO: Use dependency('dl') when updating to meson 0.62.0. libdl = null_dep if not cc.has_function('dlopen') libdl = cc.find_library('dl')