summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dickens <christopher.a.dickens@gmail.com>2020-03-25 00:41:32 -0700
committerChris Dickens <christopher.a.dickens@gmail.com>2020-03-25 00:41:32 -0700
commitc66f39f9ba8e2cd5b6ee89e853fcf8570046d715 (patch)
tree175eb5eb102870c099406d9ac1f7e34876a4f1af
parent964fa8c349ff12ed4f8029c2909e4735d956b4b6 (diff)
downloadlibusb-c66f39f9ba8e2cd5b6ee89e853fcf8570046d715.tar.gz
libusb/Makefile.am: Fix out-of-tree builds on Windows
The prerequisite $< includes the path when not building in-tree, thus the use of $(srcdir) as a prefix is incorrect. Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
-rw-r--r--libusb/Makefile.am2
-rw-r--r--libusb/version_nano.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libusb/Makefile.am b/libusb/Makefile.am
index b8936a5..2942219 100644
--- a/libusb/Makefile.am
+++ b/libusb/Makefile.am
@@ -93,7 +93,7 @@ if CREATE_IMPORT_LIB
all-local: .libs/libusb-1.0.dll.a
# Rebuild the import lib from the .def so that MS and MinGW DLLs can be interchanged
.libs/libusb-1.0.dll.a: libusb-1.0.def libusb-1.0.la
- $(AM_V_GEN)$(DLLTOOL) $(DLLTOOLFLAGS) --kill-at --input-def $(srcdir)/$< --dllname libusb-1.0.dll --output-lib $@
+ $(AM_V_GEN)$(DLLTOOL) $(DLLTOOLFLAGS) --kill-at --input-def $< --dllname libusb-1.0.dll --output-lib $@
endif
endif
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index a4419ee..09a9295 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 11471
+#define LIBUSB_NANO 11472