diff options
author | Pete Batard <pbatard@gmail.com> | 2010-04-16 23:31:50 +0100 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2010-04-16 23:31:50 +0100 |
commit | d70641755c0092fe614d9f8e2ab41320723532c9 (patch) | |
tree | 8b4f1cab4b3e8d6359bf6aca6f53f53fa27cf944 /examples | |
parent | 36feab98b264b2d5b6cd5e1eb0404e133f3ce6ac (diff) | |
download | libusb-d70641755c0092fe614d9f8e2ab41320723532c9.tar.gz |
added advapi32.lib dependency reference in xusb.c
Diffstat (limited to 'examples')
-rw-r--r-- | examples/xusb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/xusb.c b/examples/xusb.c index ee98613..4f06151 100644 --- a/examples/xusb.c +++ b/examples/xusb.c @@ -32,9 +32,11 @@ #include <libusb/libusb.h> #if defined(_MSC_VER) -// The libusb library has a dependency on the setupapi and ole32 libs +// On Windows, the libusb library has a dependency on the libraries below. +// for MinGW/cygwin, make sure you link with -lsetupapi -lole32 -ladvapi32 #pragma comment( lib, "setupapi.lib" ) #pragma comment( lib, "ole32.lib" ) +#pragma comment( lib, "advapi32.lib" ) #endif #ifdef OS_WINDOWS |