Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp474150rdb; Tue, 16 Jan 2024 06:19:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IENaA1nk+mj33ki7dWBWam8GINkD0+o1TpjH0MqKZWlQvxfzMBq1lHnCNa6SIbyUqgCu619 X-Received: by 2002:a05:6214:c67:b0:681:77a6:9e5a with SMTP id t7-20020a0562140c6700b0068177a69e5amr296296qvj.13.1705414766276; Tue, 16 Jan 2024 06:19:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705414766; cv=none; d=google.com; s=arc-20160816; b=HZWxHnAWVLKLQQkAfW6cddp0xi7vcyHajGuheIV6QGra5h2G1NIlQJ1rJqArYkUgqR zQktkW8lmKcX9biYfh/9peEUWWnFHBjm18mos4RGBAvNMwGALibdib8n70hQui7i8fhY dOxTfihaVjz0kN/0RAdsP06R/2Gh7juY5fF34q3VlLhtrbDpPvv98uIbYgE8G1KhZN6I H/HNPkvKY0/OVgHg34OAbGGjiRS6TWpwhqRKfRxKTSOkS8zr5KUpLCgz578ZKtQ383M0 1W7XPAdJeq/7Wpd7J5s+GCDbQFVbjFDmQhtIeeF96gCL9+M1uL6Sit0CXmfwnO5wDUiS szJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=C1IOa+Q/fz8IOWMezyEx+rHuHagiKa54ceEiMfL5NWE=; fh=wm3knQjNzlzhSYO3l6/R1dJNTO7aXLaAzT309a/t7Bw=; b=F+xSiBZXOx/gIq6MfYLDCfAGdewY9juMq59ATuxDTmxls7Px0aCL1LNnZaEQFWh4lu 347M8rz5/cepmuHapUMFbqEhq/lr2eOhMFltZX6FAOksNj7B4qmo46QVer0IeTPEM1Ep 748k3aZPsWsNx7aPKlEYTT2jrdR3Msaa1YwaKDRCyDORHfaog/qhwscjodyy0ZphiDZC SXOguBrqbN+KnqL0N75FOBHtuj8LWHCSkikQIqqUqPUNjqJwPDI+8KoGTA5OPx6uuRCM WPXADyCKViWSMQlb9EBN5KeyCPkqbs3wbSSHBx5VZifPbaLvMpGVDbn3NUifcL642meP QuKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=L3lR0g0R; spf=pass (google.com: domain of linux-bluetooth+bounces-1120-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1120-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id y17-20020a0cf151000000b0067f86df1ed8si685051qvl.238.2024.01.16.06.19.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 06:19:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-1120-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=L3lR0g0R; spf=pass (google.com: domain of linux-bluetooth+bounces-1120-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1120-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0CE201C234C5 for ; Tue, 16 Jan 2024 14:19:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A43091BF27; Tue, 16 Jan 2024 14:18:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="L3lR0g0R" X-Original-To: linux-bluetooth@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 17C101BDF1 for ; Tue, 16 Jan 2024 14:18:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id B12B3C433F1; Tue, 16 Jan 2024 14:18:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705414737; bh=Drk706czIQB74tZtjIszLCoLbItr0C4ypGp+yRwcxvc=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=L3lR0g0RS5qD3+uk+eND/+g6O35YEZAo8YopmL2bLrGkME5fB8cu3MKU02TBqhQl0 ngYHB2pNwwgBPMjRiXtAITpnThiNdmCMbYoVnvU6Mg1pOALHm6swz+UCtBXom5c4Dv 8B0as0ekPAA4l3ExHd4BPTs0DB0MGdKiY/+3x3ZGvTbo8nSLJH4bYE6BGEtuh2jP7O ft+tDkuLqI4Vqrd9Ra2D7gDrwyV1nQwAhvPO7xPozf8GRkVTm0DPZVAEU8/fKyMvrG YA6aD+j6WvAzl5K+zO0Bl1Ufhd+qMtAssYCVFFsIF2Au4tnJbvcGK/dDQGXBExxgD5 IOJ6GxMxR9cQw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9DC78C47DA9; Tue, 16 Jan 2024 14:18:57 +0000 (UTC) From: Emil Velikov via B4 Relay Date: Tue, 16 Jan 2024 14:18:54 +0000 Subject: [PATCH BlueZ 2/8] build: don't export internal obexd API Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240116-rm-ext-plugins-v1-2-62990fb07369@gmail.com> References: <20240116-rm-ext-plugins-v1-0-62990fb07369@gmail.com> In-Reply-To: <20240116-rm-ext-plugins-v1-0-62990fb07369@gmail.com> To: linux-bluetooth@vger.kernel.org Cc: Emil Velikov X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1705414735; l=827; i=emil.l.velikov@gmail.com; s=20230301; h=from:subject:message-id; bh=T0AIHHzKyS8F70Lq7NH7HmKSqGQUdU/5YvZARVJoz4Y=; b=cVZdkWcGGy4IlRdvrra7YNOAuxpwA6tftTtQ53iUl2NFvD9xVbg4GPVBnzgpy7ny/HzZq1It8 KGGsoW9Ef5HCl8qdT6fqMp8Pbwdi+a0rD4VM/QrOeNF0WzLX/ZAQJZT X-Developer-Key: i=emil.l.velikov@gmail.com; a=ed25519; pk=qeUTVTNyI3rcR2CfNNWsloTihgzmtbZo98GdxwZKCkY= X-Endpoint-Received: by B4 Relay for emil.l.velikov@gmail.com/20230301 with auth_id=35 X-Original-From: Emil Velikov Reply-To: From: Emil Velikov Unlike bluetoothd, obexd does not support external plugins. As such it should not export any functions. If that ever change and plugins do emerge, the symbols should be controlled via a version script. --- Makefile.obexd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.obexd b/Makefile.obexd index 2774f3aec..4e473d50b 100644 --- a/Makefile.obexd +++ b/Makefile.obexd @@ -84,7 +84,7 @@ obexd_src_obexd_LDADD = lib/libbluetooth-internal.la \ $(ICAL_LIBS) $(DBUS_LIBS) $(LIBEBOOK_LIBS) \ $(LIBEDATASERVER_LIBS) $(GLIB_LIBS) -ldl -obexd_src_obexd_LDFLAGS = $(AM_LDFLAGS) -Wl,--export-dynamic +obexd_src_obexd_LDFLAGS = $(AM_LDFLAGS) obexd_src_obexd_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) $(DBUS_CFLAGS) \ $(ICAL_CFLAGS) -D_FILE_OFFSET_BITS=64 \ -- 2.43.0