summaryrefslogtreecommitdiff
path: root/.private
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 /.private
parent0ff79bc2ad64f4b29cd57aeb0c15136d744a5252 (diff)
downloadlibusb-44e1c533e223fc4c35dd743b70523ac1722f0a69.tar.gz
msvc: Correct usage comments about linking
Closes #1114
Diffstat (limited to '.private')
-rw-r--r--.private/wbs.txt11
1 files changed, 4 insertions, 7 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,