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
This commit is contained in:
Reinhard Tartler 2022-05-14 03:18:56 +08:00 committed by openKylinBot
parent b726ff8f97
commit 838e3e223a
1 changed files with 1 additions and 1 deletions

View File

@ -1017,7 +1017,7 @@ else
ifdef CONFIG_OSX
LIBS += -framework PCSC
else
LIBS += -lpcsclite -lpthread
LIBS += $(shell $(PKG_CONFIG) --libs libpcsclite)
endif
endif
endif