You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
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:
@@ -380,7 +380,6 @@ def configure(env: "SConsEnvironment"):
|
||||
env.Append(CPPDEFINES=["XKB_ENABLED"])
|
||||
|
||||
if platform.system() == "Linux":
|
||||
env.Append(CPPDEFINES=["JOYDEV_ENABLED"])
|
||||
if env["udev"]:
|
||||
if not env["use_sowrap"]:
|
||||
if os.system("pkg-config --exists libudev") == 0: # 0 means found
|
||||
|
||||
Reference in New Issue
Block a user