summaryrefslogtreecommitdiff
path: root/libgphoto2_port/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'libgphoto2_port/configure.ac')
-rw-r--r--libgphoto2_port/configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/libgphoto2_port/configure.ac b/libgphoto2_port/configure.ac
index 058d2e7fc..9df38ce8e 100644
--- a/libgphoto2_port/configure.ac
+++ b/libgphoto2_port/configure.ac
@@ -365,7 +365,8 @@ GP_CHECK_LIBRARY([LIBUSB],[libusb],[>= 0.1.5],
[usb.h],[usb_open],[
case "$host" in
*-*-mingw* | *-*-cygwin* | *-*-msvc* )
- dnl Windows itself has usb.h we mis-detect so don't set IOLIB_LIST
+ dnl Windows itself has usb.h we mis-detect, in that case remove access to the other usb.h
+ IOLIB_LIST="$IOLIB_LIST usb"
;;
*)
if test "x$have_LIBUSB1" != xyes; then