path: root/src/plugins
diff options
authorRalf Nolden <>2016-05-28 13:30:33 +0200
committerRalf Nolden <>2016-05-31 13:32:13 +0000
commit79d3d49c4c4bf1d07f377d24d8c6e571abe80355 (patch)
tree739348da632d93200c0b54b0c88ff7b3c436e365 /src/plugins
parentcd1fc0b6ed27906c15b8f0e7f7e1b8cab147a3c3 (diff)
OpenBSD: is not available on system
OpenBSD does not provide for the sensors module, which leads to linker errors in this case. Disable linking to by adding !openbsd to the list of OSes not having it. Change-Id: If7b33eb33b4027be79bce4bb3272bef3a5b7d832 Reviewed-by: Thiago Macieira <>
Diffstat (limited to 'src/plugins')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/sensors/dummy/ b/src/plugins/sensors/dummy/
index b4ef2fda..6eab4912 100644
--- a/src/plugins/sensors/dummy/
+++ b/src/plugins/sensors/dummy/
@@ -12,7 +12,7 @@ SOURCES += dummycommon.cpp\
OTHER_FILES = plugin.json
+unix:!darwin:!qnx:!android:!openbsd: LIBS += -lrt
PLUGIN_TYPE = sensors
PLUGIN_CLASS_NAME = dummySensorPlugin