From: Reinhard Tartler <siretart@xxxxxxxxxx> Using pkg-config for libpcsclite can provide more accurate linking flags. Signed-off-by: Reinhard Tartler <siretart@xxxxxxxxxx> Signed-off-by: Andrej Shadura <andrew.shadura@xxxxxxxxxxxxxxx> --- 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 -- 2.33.0 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap