From: Baruch Siach Date: Fri, 1 Sep 2017 08:34:32 +0000 (+0300) Subject: gnupg2: switch optional dependency to libusb X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=65818acad6b419f8a595f804aa589dfc8a1f13a6;p=buildroot.git 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 --- 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