1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fix SDL threading on macOS/Linux.

And fixup pkg-config check for SDL on Linux.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
This commit is contained in:
Pāvels Nadtočajevs
2025-06-25 06:39:23 +03:00
committed by Rémi Verschelde
parent 05640191e7
commit 71dd7b5712
4 changed files with 9 additions and 63 deletions

View File

@@ -90,9 +90,6 @@ if env["builtin_sdl"]:
"stdlib/SDL_string.c",
"stdlib/SDL_strtokr.c",
"thread/SDL_thread.c",
"thread/generic/SDL_syscond.c",
"thread/generic/SDL_sysrwlock.c",
"thread/generic/SDL_systhread.c",
"timer/SDL_timer.c",
]
@@ -182,6 +179,8 @@ if env["builtin_sdl"]:
"joystick/windows/SDL_windows_gaming_input.c",
"joystick/windows/SDL_windowsjoystick.c",
"joystick/windows/SDL_xinputjoystick.c",
"thread/generic/SDL_syscond.c",
"thread/generic/SDL_sysrwlock.c",
"thread/windows/SDL_syscond_cv.c",
"thread/windows/SDL_sysmutex.c",
"thread/windows/SDL_sysrwlock_srw.c",