mirror of https://gitee.com/openkylin/wpa.git
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:
parent
b726ff8f97
commit
838e3e223a
|
@ -1017,7 +1017,7 @@ else
|
|||
ifdef CONFIG_OSX
|
||||
LIBS += -framework PCSC
|
||||
else
|
||||
LIBS += -lpcsclite -lpthread
|
||||
LIBS += $(shell $(PKG_CONFIG) --libs libpcsclite)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue