summaryrefslogtreecommitdiff
path: root/libgphoto2_port/configure.ac
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2015-10-19 07:56:30 +0200
committerMarcus Meissner <marcus@jet.franken.de>2015-10-19 07:56:30 +0200
commit1455a71b8bb0133781f86f91444bbe1dd5179335 (patch)
tree2a427c5f9359b434a093cb9b1c2901ec52092ebe /libgphoto2_port/configure.ac
parentb92db32fed5e35a2e6c83a21b2c2bec1e7848e8d (diff)
downloadlibgphoto2-1455a71b8bb0133781f86f91444bbe1dd5179335.tar.gz
allow usb0 on mingw windows
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