mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-29 15:44:07 +00:00
modules/hotp-verification: source libusb headers from Makefile DESTDIR
Before, the configure script sourced these from the system FHS (/usr/include/libusb-1.0). The build failed on my NixOS build machine, which doesn't store dependencies in a traditional FHS. And this is the correct approach for reproducible builds.
This commit is contained in:
parent
395de880db
commit
a5fa2ecb0b
@ -19,7 +19,7 @@ hotp-verification_output := \
|
||||
hotp-verification_configure := \
|
||||
INSTALL="$(INSTALL)" \
|
||||
CROSS="$(CROSS)" \
|
||||
$(CROSS_TOOLS) $(MAKE) LDFLAGS="$(INSTALL)/lib/libusb-1.0.so" GITVERSION="" LIBUSB_FLAGS="-I/usr/include/libusb-1.0" PKGCONFIG="" && $(MAKE) install INSTALL="$(INSTALL)"
|
||||
$(CROSS_TOOLS) $(MAKE) LDFLAGS="$(INSTALL)/lib/libusb-1.0.so" GITVERSION="" LIBUSB_FLAGS="-I$(INSTALL)/include/libusb-1.0" PKGCONFIG="" && $(MAKE) install INSTALL="$(INSTALL)"
|
||||
|
||||
hotp-verification_depends += hidapi
|
||||
modules-y += hidapi
|
||||
|
Loading…
x
Reference in New Issue
Block a user