Explorar o código

Merge pull request #63646 from bruvzg/fix_dbus_build

Rémi Verschelde %!s(int64=3) %!d(string=hai) anos
pai
achega
98195a2b59
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      platform/linuxbsd/detect.py

+ 1 - 0
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"]: