From 116bd7eb7a516610b36bd3c1cc3d5abbd6224114 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 23 Nov 2019 11:35:20 -0800 Subject: [PATCH] Added the Linux hidraw sources when libusb isn't available --- configure | 3 +++ configure.ac | 3 +++ 2 files changed, 6 insertions(+) diff --git a/configure b/configure index 61963d5f4..2f6779f07 100755 --- a/configure +++ b/configure @@ -24371,6 +24371,9 @@ _ACEOF *-*-darwin* ) SOURCES="$SOURCES $srcdir/src/hidapi/mac/hid.c" ;; + * ) + SOURCES="$SOURCES $srcdir/src/hidapi/linux/hid.c" + ;; esac fi fi diff --git a/configure.ac b/configure.ac index f40c0e8b1..c3a60558c 100644 --- a/configure.ac +++ b/configure.ac @@ -3349,6 +3349,9 @@ AS_HELP_STRING([--enable-hidapi], [use HIDAPI for low level joystick drivers [[d *-*-darwin* ) SOURCES="$SOURCES $srcdir/src/hidapi/mac/hid.c" ;; + * ) + SOURCES="$SOURCES $srcdir/src/hidapi/linux/hid.c" + ;; esac fi fi