gnupg2: switch optional dependency to libusb
gnupg2 migrated to libusb-1.0 in version 2.1.12. Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
16ddb2ba24
commit
65818acad6
@ -42,10 +42,10 @@ else
|
||||
GNUPG2_CONF_OPTS += --disable-gnutls
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),y)
|
||||
ifeq ($(BR2_PACKAGE_LIBUSB),y)
|
||||
GNUPG2_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/libusb-1.0"
|
||||
GNUPG2_CONF_OPTS += --enable-ccid-driver
|
||||
GNUPG2_DEPENDENCIES += libusb-compat
|
||||
GNUPG2_DEPENDENCIES += libusb
|
||||
else
|
||||
GNUPG2_CONF_OPTS += --disable-ccid-driver
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user