From 64f448b26c40600fb584ce8de87b7a2490bf1735 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 13 Dec 2020 02:01:39 -0800 Subject: [PATCH] libusb hid.c is already included in SDL_hidapi.c --- configure | 1 - configure.ac | 1 - 2 files changed, 2 deletions(-) diff --git a/configure b/configure index 71403d4b3..9d950141e 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.ac b/configure.ac index c3327c340..6337e1204 100644 --- a/configure.ac +++ b/configure.ac @@ -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