Code

src/Makefile.am: Link the `sensors' plugin against libsensors.
authorMirko Buffoni <briareos@eswat.org>
Sat, 20 Jun 2009 10:24:41 +0000 (12:24 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sat, 20 Jun 2009 10:24:41 +0000 (12:24 +0200)
This regression was introduced in 451d75ba.

src/Makefile.am

index 95975a4b3b3540f392a5820ce68d39e1a302dda5..7c65c1c806ae6c0a0405f7091fb5c1930cfd0cbb 100644 (file)
@@ -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