summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2017-03-21 08:09:26 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-03-21 22:51:03 +0100
commit8ae1804ff63b7c3af054f6a3a670c07c205f8890 (patch)
tree1e58887a4b20247041ccf63ca52d858aca14b6ce
parent1a2a87af107bce07a4dde9428920e4c62b6492b5 (diff)
downloadbuildroot-8ae1804ff63b7c3af054f6a3a670c07c205f8890.tar.gz
buildroot-8ae1804ff63b7c3af054f6a3a670c07c205f8890.zip
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 <bernd.kuhls@t-online.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/gnupg2/gnupg2.mk1
1 files changed, 1 insertions, 0 deletions
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
OpenPOWER on IntegriCloud