You've already forked godot
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:
committed by
Rémi Verschelde
parent
05640191e7
commit
71dd7b5712
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user