Merge pull request #598 from h3xx/add-check-libnfc-nci

Add check for Libnfc-NCI before enabling pn71xx
thanks @h3xx
This commit is contained in:
Adam Laurie 2020-05-12 12:36:55 +01:00 committed by GitHub
commit f1bb27d1af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 2 deletions

View file

@ -44,7 +44,7 @@ libnfcdrivers_la_SOURCES += pn532_i2c.c pn532_i2c.h
endif
if DRIVER_PN71XX_ENABLED
libnfcdrivers_la_LIBADD += -lnfc_nci_linux
libnfcdrivers_la_LIBADD += @LIBNFC_NCI_LIBS@
libnfcdrivers_la_SOURCES += pn71xx.c pn71xx.h
endif