mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +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:
parent
05640191e7
commit
71dd7b5712
4 changed files with 9 additions and 63 deletions
|
@ -397,7 +397,7 @@ def configure(env: "SConsEnvironment"):
|
|||
if env["sdl"]:
|
||||
if env["builtin_sdl"]:
|
||||
env.Append(CPPDEFINES=["SDL_ENABLED"])
|
||||
elif os.system("pkg-config --exists fontconfig") == 0: # 0 means found
|
||||
elif os.system("pkg-config --exists sdl3") == 0: # 0 means found
|
||||
env.ParseConfig("pkg-config sdl3 --cflags --libs")
|
||||
env.Append(CPPDEFINES=["SDL_ENABLED"])
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue