From a1efbb8e02288c93981ca63344d1a0ce689fd3b1 Mon Sep 17 00:00:00 2001 From: Trammell Hudson Date: Wed, 5 Apr 2017 18:06:42 -0400 Subject: [PATCH] fix build to avoid libusb installed on host system --- modules/libusb-compat | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/libusb-compat b/modules/libusb-compat index 8e3d15b..f7d4293 100644 --- a/modules/libusb-compat +++ b/modules/libusb-compat @@ -13,6 +13,9 @@ libusb-compat_configure := ./configure \ CC="$(heads_cc)" \ --host i386-elf-linux \ --prefix "$(INSTALL)" \ + PKG_CONFIG=/bin/false \ + LIBUSB_1_0_CFLAGS="-I$(INSTALL)/include/libusb" \ + LIBUSB_1_0_LIBS="-L$(INSTALL)/lib -lusb-1.0" \ # Run one build to generate the executables with the pre-defined # exec_prefix and datarootdir, then a second make to install the binaries