summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-07-29 22:28:52 +0200
committerGitHub <noreply@github.com>2022-07-29 22:28:52 +0200
commit98195a2b5920f39ca25ee1bf21b18fc6c5fc4452 (patch)
treeffb2e856031e0d512f7f1f0649595fee852ee031 /platform
parent5ca09b322c0dea3f71de3239c2da2a72d987f67d (diff)
parentd6a9384a3236f0fcf4daef0c9642f53cd6fb18d7 (diff)
Merge pull request #63646 from bruvzg/fix_dbus_build
Diffstat (limited to 'platform')
-rw-r--r--platform/linuxbsd/detect.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py
index 87fe2ced33..00e2b9e6eb 100644
--- a/platform/linuxbsd/detect.py
+++ b/platform/linuxbsd/detect.py
@@ -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"]: