You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Linux: Fix build with dbus=no or threads=no
This commit is contained in:
@@ -336,7 +336,7 @@ def configure(env: "SConsEnvironment"):
|
||||
else:
|
||||
env.Append(CPPDEFINES=["PULSEAUDIO_ENABLED", "_REENTRANT"])
|
||||
|
||||
if env["dbus"]:
|
||||
if env["dbus"] and env["threads"]: # D-Bus functionality expects threads.
|
||||
if not env["use_sowrap"]:
|
||||
if os.system("pkg-config --exists dbus-1") == 0: # 0 means found
|
||||
env.ParseConfig("pkg-config dbus-1 --cflags --libs")
|
||||
|
||||
Reference in New Issue
Block a user