Fixed building with libusb not dynamicaly loaded

This commit is contained in:
Sam Lantinga committed 2022-09-01 11:30:02 -07:00
1 parent 7708bf0f8a
commit 3f89d1704d
6 files changed
+77 -32

No files matched your search

+1
View File
@@ -3581,6 +3581,7 @@ CheckHIDAPI()
if test x$hidapi_support = xyes; then
if test x$have_libusb_h = xyes; then
AC_DEFINE(HAVE_LIBUSB)
EXTRA_CFLAGS="$EXTRA_CFLAGS $LIBUSB_CFLAGS"
if test x$require_hidapi_libusb = xyes; then
EXTRA_LDFLAGS="$EXTRA_LDFLAGS $LIBUSB_LIBS"