Added a note that we dynamically load libusb
This commit is contained in:
1 parent
1a653f7f89
commit
fa52949529
1 file changed
+9
@@ -24,6 +24,15 @@
|
|||||||
|
|
||||||
#ifdef HAVE_LIBUSB
|
#ifdef HAVE_LIBUSB
|
||||||
|
|
||||||
|
#ifdef SDL_LIBUSB_DYNAMIC
|
||||||
|
SDL_ELF_NOTE_DLOPEN(
|
||||||
|
"libusb",
|
||||||
|
"Support for joysticks through libusb",
|
||||||
|
SDL_ELF_NOTE_DLOPEN_PRIORITY_SUGGESTED,
|
||||||
|
SDL_LIBUSB_DYNAMIC
|
||||||
|
);
|
||||||
|
#endif
|
||||||
|
|
||||||
static SDL_AtomicInt SDL_libusb_refcount;
|
static SDL_AtomicInt SDL_libusb_refcount;
|
||||||
static bool SDL_libusb_loaded;
|
static bool SDL_libusb_loaded;
|
||||||
static SDL_SharedObject *SDL_libusb_handle;
|
static SDL_SharedObject *SDL_libusb_handle;
|
||||||
|
|||||||
Reference in new issue
Block a user