mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix the usage of libudev and dbus with SDL
Previously, libudev was ignored if SOWRAP_ENABLED was defined (it is defined by default) because otherwise it would crash CI builds due to a missing header, and dbus was always linked dynamically. This commit should fix this issue and make libudev usable again
This commit is contained in:
parent
2a9ff39264
commit
0e19ad507e
13 changed files with 171 additions and 1406 deletions
3
thirdparty/sdl/core/linux/SDL_udev.c
vendored
3
thirdparty/sdl/core/linux/SDL_udev.c
vendored
|
|
@ -38,7 +38,8 @@
|
|||
|
||||
static const char *SDL_UDEV_LIBS[] = { "libudev.so.1", "libudev.so.0" };
|
||||
|
||||
static SDL_UDEV_PrivateData *_this = NULL;
|
||||
SDL_UDEV_PrivateData *SDL_UDEV_PrivateData_this = NULL;
|
||||
#define _this SDL_UDEV_PrivateData_this
|
||||
|
||||
static bool SDL_UDEV_load_sym(const char *fn, void **addr);
|
||||
static bool SDL_UDEV_load_syms(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue