From 05fd0494808527693a49045e3c26a8812005f9fb Mon Sep 17 00:00:00 2001 From: Reinhard Tartler Date: Thu, 8 Aug 2019 15:59:02 +0200 Subject: Use pkg-config for libpcsclite linkage flags At least in debian, we can rely on pkg-config being available and returning more accurate ldflags. Gbp-Pq: Name 01_use_pkg-config_for_pcsc-lite_module.patch --- wpa_supplicant/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index f1384d5..98ac987 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -1017,7 +1017,7 @@ else ifdef CONFIG_OSX LIBS += -framework PCSC else -LIBS += -lpcsclite -lpthread +LIBS += $(shell $(PKG_CONFIG) --libs libpcsclite) endif endif endif -- cgit v1.2.3