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:
Nintorch
2025-07-30 19:59:46 +05:00
parent 2a9ff39264
commit 0e19ad507e
13 changed files with 171 additions and 1406 deletions
+1
View File
@@ -145,6 +145,7 @@ if env["builtin_sdl"]:
"thread/pthread/SDL_systls.c",
"timer/unix/SDL_systimer.c",
]
env_sdl.Prepend(CPPPATH=[thirdparty_dir + "core/linux"])
elif env["platform"] == "macos":
env_sdl.Append(CPPDEFINES=["SDL_PLATFORM_MACOS"])