summaryrefslogtreecommitdiff
path: root/platform/linuxbsd/detect.py
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-07-29 11:19:06 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-07-29 11:19:19 +0300
commitf973069afbe97ef8eeede9290bb3de146ace8cc7 (patch)
tree36bc5ea901ceee11a789169c76e685e5a5bf6018 /platform/linuxbsd/detect.py
parent9869182e8a01f803208d319bce8087fd2ff035b4 (diff)
[Linux] Load dbus libraries dynamically.
Diffstat (limited to 'platform/linuxbsd/detect.py')
-rw-r--r--platform/linuxbsd/detect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py
index 1c75e1c443..87fe2ced33 100644
--- a/platform/linuxbsd/detect.py
+++ b/platform/linuxbsd/detect.py
@@ -325,7 +325,7 @@ def configure(env):
if env["dbus"]:
if os.system("pkg-config --exists dbus-1") == 0: # 0 means found
env.Append(CPPDEFINES=["DBUS_ENABLED"])
- env.ParseConfig("pkg-config dbus-1 --cflags --libs")
+ env.ParseConfig("pkg-config dbus-1 --cflags") # Only cflags, we dlopen the library.
else:
print("Warning: D-Bus development libraries not found. Disabling screensaver prevention.")