libusb hid.c is already included in SDL_hidapi.c

This commit is contained in:
Sam Lantinga 2020-12-13 02:01:39 -08:00
parent 706f63759c
commit 64f448b26c
2 changed files with 0 additions and 2 deletions

1
configure vendored
View File

@ -24443,7 +24443,6 @@ $as_echo "#define SDL_JOYSTICK_RAWINPUT 1" >>confdefs.h
if test x$have_libusb_h = xyes; then
EXTRA_CFLAGS="$EXTRA_CFLAGS $LIBUSB_CFLAGS"
if test x$require_hidapi_libusb = xyes; then
SOURCES="$SOURCES $srcdir/src/hidapi/libusb/hid.c"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS $LIBUSB_LIBS"
else
if test x$have_loadso != xyes; then

View File

@ -3385,7 +3385,6 @@ AS_HELP_STRING([--enable-hidapi-libusb], [use libusb for low level joystick driv
if test x$have_libusb_h = xyes; then
EXTRA_CFLAGS="$EXTRA_CFLAGS $LIBUSB_CFLAGS"
if test x$require_hidapi_libusb = xyes; then
SOURCES="$SOURCES $srcdir/src/hidapi/libusb/hid.c"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS $LIBUSB_LIBS"
else
if test x$have_loadso != xyes; then