From 89b43a6929305eab8aad297a0ecb58b478857a10 Mon Sep 17 00:00:00 2001 From: Xiaofan Chen Date: Sun, 17 Jun 2012 20:46:40 +0800 Subject: [PATCH] Windows: Some versions of dlltool require a library name * Even though the library name is optional as specified by Microsoft, some recent versions of libtool require one in libusb-1.0.def. * Reference thread in MinGW-w64 mailing list. http://comments.gmane.org/gmane.comp.gnu.mingw.w64.general/5141 --- libusb/libusb-1.0.def | 2 +- libusb/version_nano.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libusb/libusb-1.0.def b/libusb/libusb-1.0.def index 847b785..3aba343 100644 --- a/libusb/libusb-1.0.def +++ b/libusb/libusb-1.0.def @@ -1,4 +1,4 @@ -LIBRARY +LIBRARY "libusb-1.0.dll" EXPORTS libusb_alloc_transfer libusb_alloc_transfer@4 = libusb_alloc_transfer diff --git a/libusb/version_nano.h b/libusb/version_nano.h index ecf7984..217b1bd 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 10533 +#define LIBUSB_NANO 10534 -- 2.7.4