Browse Source

libusb hid.c is already included in SDL_hidapi.c

Sam Lantinga 4 years ago
parent
commit
64f448b26c
2 changed files with 0 additions and 2 deletions
  1. 0 1
      configure
  2. 0 1
      configure.ac

+ 0 - 1
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

+ 0 - 1
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