From 8ae1804ff63b7c3af054f6a3a670c07c205f8890 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Tue, 21 Mar 2017 08:09:26 +0100 Subject: [PATCH] package/gnupg2: fix libusb detection gnupg2 does not use pkgconf to detect the include dir of libusb. Fixes http://autobuild.buildroot.net/results/70c/70c9f5f8ae77fbda2b5eba3aacf831430dc59a1c/ Signed-off-by: Bernd Kuhls Reviewed-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- package/gnupg2/gnupg2.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/gnupg2/gnupg2.mk b/package/gnupg2/gnupg2.mk index 5815e7003d..3932c3a0f9 100644 --- a/package/gnupg2/gnupg2.mk +++ b/package/gnupg2/gnupg2.mk @@ -43,6 +43,7 @@ GNUPG2_CONF_OPTS += --disable-gnutls endif ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),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 else -- 2.30.2