From: Mirko Buffoni Date: Sat, 20 Jun 2009 10:24:41 +0000 (+0200) Subject: src/Makefile.am: Link the `sensors' plugin against libsensors. X-Git-Tag: collectd-4.7.2~9 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=029cc5b0d4c30339c58b164d8807f568e1509ae8;p=collectd.git src/Makefile.am: Link the `sensors' plugin against libsensors. This regression was introduced in 451d75ba. --- 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