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 6a5c53a..4848be1 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