summaryrefslogtreecommitdiffstats
path: root/src/libusb.mk
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2013-01-05 22:12:01 (GMT)
committerUwe Hermann <uwe@hermann-uwe.de>2013-01-05 22:16:46 (GMT)
commite4080f0eb34c3b09992fbe1952972dad06aedb03 (patch)
tree7ddf0fdb2f13bbe6fc73c2fecf40cb597c984d2c /src/libusb.mk
parente8ca67a32c419e7609f662d5696ec8ddb4dc2f4d (diff)
downloadmxe-e4080f0eb34c3b09992fbe1952972dad06aedb03.zip
mxe-e4080f0eb34c3b09992fbe1952972dad06aedb03.tar.gz
mxe-e4080f0eb34c3b09992fbe1952972dad06aedb03.tar.bz2
libusb's header must be named usb.h.
The current libusb package installs it as usb0_usb.h, which is incorrect. For other packages to actually be able to use the installed libusb, the header file must be named usb.h.
Diffstat (limited to 'src/libusb.mk')
-rw-r--r--src/libusb.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libusb.mk b/src/libusb.mk
index 2061559..dc1779c 100644
--- a/src/libusb.mk
+++ b/src/libusb.mk
@@ -30,7 +30,7 @@ define $(PKG)_BUILD
--output-lib libusb.a
$(INSTALL) -d '$(PREFIX)/$(TARGET)/include'
- $(INSTALL) -m644 '$(1)/src/lusb0_usb.h' '$(PREFIX)/$(TARGET)/include/'
+ $(INSTALL) -m644 '$(1)/src/lusb0_usb.h' '$(PREFIX)/$(TARGET)/include/usb.h'
$(INSTALL) -d '$(PREFIX)/$(TARGET)/lib'
$(INSTALL) -m644 '$(1)/libusb.a' '$(PREFIX)/$(TARGET)/lib/'
$(INSTALL) -m644 '$(1)/libusbd.a' '$(PREFIX)/$(TARGET)/lib/'