Record dynamic dependencies in .note.dlopen elf section

This commit is contained in:
Anonymous Maarten authored and GitHub committed 2025-08-27 16:11:39 +00:00
1 parent 152ba829a1
commit 0a6b80717c
26 files changed
+435 -36

No files matched your search

+9
View File
@@ -40,6 +40,15 @@
#ifndef SDL_HIDAPI_DISABLED
#ifdef SDL_LIBUSB_DYNAMIC
SDL_ELF_NOTE_DLOPEN(
"hidabi-libusb",
"Support for joysticks through libusb",
SDL_ELF_NOTE_DLOPEN_PRIORITY_SUGGESTED,
SDL_LIBUSB_DYNAMIC
);
#endif
#if defined(SDL_PLATFORM_WIN32) || defined(SDL_PLATFORM_WINGDK)
#include "../core/windows/SDL_windows.h"
#endif