From 65818acad6b419f8a595f804aa589dfc8a1f13a6 Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Fri, 1 Sep 2017 11:34:32 +0300 Subject: [PATCH] gnupg2: switch optional dependency to libusb gnupg2 migrated to libusb-1.0 in version 2.1.12. Cc: Vicente Olivert Riera Signed-off-by: Baruch Siach Signed-off-by: Thomas Petazzoni --- package/gnupg2/gnupg2.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/gnupg2/gnupg2.mk b/package/gnupg2/gnupg2.mk index e5451639fd..4bf9cfcea5 100644 --- a/package/gnupg2/gnupg2.mk +++ b/package/gnupg2/gnupg2.mk @@ -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 -- 2.30.2