Merge pull request #63646 from bruvzg/fix_dbus_build

This commit is contained in:
Rémi Verschelde 2022-07-29 22:28:52 +02:00 committed by GitHub
commit 98195a2b59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -327,6 +327,7 @@ def configure(env):
env.Append(CPPDEFINES=["DBUS_ENABLED"])
env.ParseConfig("pkg-config dbus-1 --cflags") # Only cflags, we dlopen the library.
else:
env["dbus"] = False
print("Warning: D-Bus development libraries not found. Disabling screensaver prevention.")
if env["speechd"]: