From 029cc5b0d4c30339c58b164d8807f568e1509ae8 Mon Sep 17 00:00:00 2001 From: Mirko Buffoni Date: Sat, 20 Jun 2009 12:24:41 +0200 Subject: [PATCH] src/Makefile.am: Link the `sensors' plugin against libsensors. This regression was introduced in 451d75ba. --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 95975a4b..7c65c1c8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -764,8 +764,8 @@ if BUILD_PLUGIN_SENSORS pkglib_LTLIBRARIES += sensors.la sensors_la_SOURCES = sensors.c sensors_la_CFLAGS = $(AM_CFLAGS) $(BUILD_WITH_LIBSENSORS_CFLAGS) -sensors_la_LDFLAGS = -module -avoid-version -sensors_la_LIBADD = $(BUILD_WITH_LIBSENSORS_LDFLAGS) +sensors_la_LDFLAGS = -module -avoid-version $(BUILD_WITH_LIBSENSORS_LDFLAGS) +sensors_la_LIBADD = -lsensors collectd_LDADD += "-dlopen" sensors.la collectd_DEPENDENCIES += sensors.la endif -- 2.11.0