Fixed building with libusb not dynamicaly loaded
This commit is contained in:
1 parent
7708bf0f8a
commit
3f89d1704d
6 files changed
+77
-32
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user