summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2022-02-27 09:47:02 -0800
committerTormod Volden <debian.tormod@gmail.com>2022-06-26 17:09:14 +0200
commit44e1c533e223fc4c35dd743b70523ac1722f0a69 (patch)
tree716cda0e6d38b2754c3269aa66f8f6e9586e3747
parent0ff79bc2ad64f4b29cd57aeb0c15136d744a5252 (diff)
downloadlibusb-44e1c533e223fc4c35dd743b70523ac1722f0a69.tar.gz
msvc: Correct usage comments about linking
Closes #1114
-rw-r--r--.private/wbs.txt11
-rw-r--r--libusb/version_nano.h2
2 files changed, 5 insertions, 8 deletions
diff --git a/.private/wbs.txt b/.private/wbs.txt
index 752e6da..0e4a76b 100644
--- a/.private/wbs.txt
+++ b/.private/wbs.txt
@@ -15,14 +15,11 @@ o Visual Studio:
Also make sure that the directory where libusb-1.0.lib resides is added to
'Additional Library Directories' (Configuration Properties -> Linker
-> General)
- - If you use the static version of the libusb library, make sure that
- 'Runtime Library' is set to 'Multi-threaded DLL (/MD)' (Configuration
- Properties -> C/C++ -> Code Generation).
- NB: If your application requires /MT (Multi-threaded/libCMT), you need to
- recompile a static libusb 1.0 library from source.
+ - By default, static libusb statically links against the CRT and the dll build
+ dynamically links against CRT. You need to rebuild libusb from source to
+ change this if required by your application.
- Compile and run your application. If you use the DLL version of libusb-1.0,
- remember that you need to have a copy of the DLL either in the runtime
- directory or in system32
+ remember that the DLL needs to be in the DLL search path of your application.
o MinGW/cygwin
- Copy libusb.h, from include/libusb-1.0/ to your default include directory,
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index d9099b8..520a82e 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 11738
+#define LIBUSB_NANO 11739