Skip to content

Commit

Permalink
Added the Linux hidraw sources when libusb isn't available
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 23, 2019
1 parent 8e15392 commit 116bd7e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configure
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions configure.ac
Expand Up @@ -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
Expand Down

0 comments on commit 116bd7e

Please sign in to comment.