gnupg2: switch optional dependency to libusb
authorBaruch Siach <baruch@tkos.co.il>
Fri, 1 Sep 2017 08:34:32 +0000 (11:34 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 3 Sep 2017 12:19:17 +0000 (14:19 +0200)
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>
package/gnupg2/gnupg2.mk

index e5451639fd54ba75d548c2e05321da50a2ae9d2a..4bf9cfcea5dc8ae9392ea5562dc3613d569583ff 100644 (file)
@@ -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