Added the Linux hidraw sources when libusb isn't available

This commit is contained in:
Sam Lantinga 2019-11-23 11:35:20 -08:00
parent 8e153922e4
commit 116bd7eb7a
2 changed files with 6 additions and 0 deletions

3
configure vendored
View file

@ -24371,6 +24371,9 @@ _ACEOF
*-*-darwin* ) *-*-darwin* )
SOURCES="$SOURCES $srcdir/src/hidapi/mac/hid.c" SOURCES="$SOURCES $srcdir/src/hidapi/mac/hid.c"
;; ;;
* )
SOURCES="$SOURCES $srcdir/src/hidapi/linux/hid.c"
;;
esac esac
fi fi
fi fi

View file

@ -3349,6 +3349,9 @@ AS_HELP_STRING([--enable-hidapi], [use HIDAPI for low level joystick drivers [[d
*-*-darwin* ) *-*-darwin* )
SOURCES="$SOURCES $srcdir/src/hidapi/mac/hid.c" SOURCES="$SOURCES $srcdir/src/hidapi/mac/hid.c"
;; ;;
* )
SOURCES="$SOURCES $srcdir/src/hidapi/linux/hid.c"
;;
esac esac
fi fi
fi fi