From patchwork Thu Oct 21 10:26:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrej Shadura X-Patchwork-Id: 1544278 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=KeUaaF0+; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=casper.20170209 header.b=XpTI/4JD; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=shadura.me header.i=@shadura.me header.a=rsa-sha256 header.s=a header.b=qb0gNusm; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HZkGK43tWz9sXM for ; Thu, 21 Oct 2021 21:28:25 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=lbQ8KwQZxNKnN5+6msfRIN8OntTvftZeS1o4lmyFX4g=; b=KeUaaF0+gjLyxi FQb5LFiZLYnR5Cs364qemH80TQHHh9MC/Nfhz7urEIQo+mJPbulKgL20R61Eqk6BkojHHaeQ55JVD 3xv28SoPk7+xSHXLBysuM2AdXQtt5mG6f9Gpoj9IEUe+lnNjaipRAhiH8308WbXagl14km8xru8jc 2e6QTtL5dJhVM99KuNHrI3Gf6aAr+kqzHiNouavqFHSvqQFD1jTz4bAUXO8glx0LFWMZoB9S2ajAZ MmyoV2iaW5XhrUeMupf/WH/jmN6p0PfafXGDdpqbmRnbokqsU5sfCd/myOMK9JyNpV3iEZWqC6bfg Sj/TGUfNX0MZ4K3WpDug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mdVIC-007Cxl-0M; Thu, 21 Oct 2021 10:27:24 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mdVI1-007Cwi-NA for hostap@bombadil.infradead.org; Thu, 21 Oct 2021 10:27:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=2n8tUzjpVBz1ka/kbZSjVe094z8n4swVzOzuxzdwACA=; b=XpTI/4JDysczrvrQSmUj4+MKkm VjeuWVVMI51ROYVgnzQPvnfD3044C2TOTiyuo1IeF43KaK2XcK6jk+rNMuD49sj9CnD74ocGtlxFS XdjMDekBxT2b6kCWlvntUmqB3XrjiYz2fXHbh/aZGdhkrviVJQo6zEQOpeG4mpchsrjU0boiG/MnU r3TsQP41bUSnvjzQW139mJqxTboW0kcRL8Uz6Xuc2off8NblEcj+u/tiRKLn9bJkVe4mjNl1Xt0fR L5Jtbjj/3mkp9ygKyyALqYeOKW9mvj2mfNponPtaq9OXKGEe3EopOVozxq63DnfCebosqqRXJQccz L/GxY52A==; Received: from cambridge.shadura.me ([2a00:1098:0:86:1000:13:0:1]) by casper.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mdVH8-00DCOd-8e for hostap@lists.infradead.org; Thu, 21 Oct 2021 10:26:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=shadura.me; s=a; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To: From:Content-Type:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References; bh=2n8tUzjpVBz1ka/kbZSjVe094z8n4swVzOzuxzdwACA=; b=qb0gNusm9Pv58u bCfqGoboezri8bW9JE91O93I1CtAMFAhzyWxOSBe1tFlSdnkw1JZ6nnUAfkgGS401yi7hUqFuQwus 1PfroMuY2Chqz57d1z9i7+L9TrQ0Ah/eOypXCfiQZRNfeiP9HGcfWMOAjbT6Tv+Y1tqVXthtYitAq KfQ=; Received: from [94.229.32.126] (helo=localhost) by cambridge.shadura.me with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mdVGy-0007Td-JX; Thu, 21 Oct 2021 12:26:08 +0200 From: Andrej Shadura To: hostap@lists.infradead.org Cc: Reinhard Tartler Subject: [PATCH v2] Use pkg-config for libpcsclite linkage flags Date: Thu, 21 Oct 2021 12:26:00 +0200 Message-Id: <20211021102600.227836-1-andrew.shadura@collabora.co.uk> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211021_112630_580794_502E380A X-CRM114-Status: UNSURE ( 8.50 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.8 (-) X-Spam-Report: SpamAssassin version 3.4.6 on casper.infradead.org summary: Content analysis details: (-1.8 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 SPF_PASS SPF: sender matches SPF record 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From: Reinhard Tartler Using pkg-config for libpcsclite can provide more accurate linking flags. Signed-off-by: Reinhard Tartler Signed-off-by: Andrej Shadura --- wpa_supplicant/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 271f2aab3118..cb13a12afe59 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -1020,7 +1020,7 @@ else ifdef CONFIG_OSX LIBS += -framework PCSC else -LIBS += -lpcsclite -lpthread +LIBS += $(shell $(PKG_CONFIG) --libs libpcsclite) endif endif endif