fix build to avoid libusb installed on host system

This commit is contained in:
Trammell Hudson 2017-04-05 18:06:42 -04:00
parent 71f6cf3315
commit a1efbb8e02
Failed to extract signature

View File

@ -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