Fixed building with libusb not dynamicaly loaded
(cherry-picked from commit3f89d1704d) (cherry-picked from commit4ebf34857a) (cherry-picked from commit5767dc710e) (cherry-picked from commit9d77945d36) (cherry-picked from commit2847696338)
This commit is contained in:
1 parent
531ddf5eb5
commit
ffcf32b4ff
8 files changed
+93
-45
No files matched your search
@@ -3579,6 +3579,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