Code

Turbostat: adapt src/Makefile.am as per 4de560d2c
authorVincent Brillault <git@lerya.net>
Sat, 14 Feb 2015 08:08:55 +0000 (09:08 +0100)
committerVincent Brillault <git@lerya.net>
Sat, 28 Feb 2015 06:35:42 +0000 (07:35 +0100)
src/Makefile.am

index 6a5c53ab50a0eb1767dfe012c89245e4b730912d..4848be109bfd05fb277e7bd84b2ae44be612673e 100644 (file)
@@ -1063,9 +1063,7 @@ endif
 if BUILD_PLUGIN_TURBOSTAT
 pkglib_LTLIBRARIES += turbostat.la
 turbostat_la_SOURCES = turbostat.c
-turbostat_la_LDFLAGS = -module -avoid-version
-collectd_LDADD += "-dlopen" turbostat.la
-collectd_DEPENDENCIES += turbostat.la
+turbostat_la_LDFLAGS = $(PLUGIN_LDFLAGS)
 endif
 
 if BUILD_PLUGIN_UNIXSOCK