Code

Update ceph declaration to new format
authordaryder <daryder@cisco.com>
Mon, 3 Nov 2014 20:42:18 +0000 (15:42 -0500)
committerdaryder <daryder@cisco.com>
Mon, 3 Nov 2014 20:42:18 +0000 (15:42 -0500)
src/Makefile.am

index 0b62685479e9e42c75a05447e07baadf8ccbfd87..b8857c0760abc38b6e3d6ce32e5c50568bdae277 100644 (file)
@@ -244,11 +244,9 @@ if BUILD_PLUGIN_CEPH
 pkglib_LTLIBRARIES += ceph.la
 ceph_la_SOURCES = ceph.c
 ceph_la_CFLAGS = $(AM_CFLAGS)
-ceph_la_LDFLAGS = -module -avoid-version $(BUILD_WITH_LIBYAJL_LDFLAGS)
-ceph_la_CPPFLAGS = $(BUILD_WITH_LIBYAJL_CPPFLAGS)
+ceph_la_LDFLAGS = $(PLUGIN_LDFLAGS) $(BUILD_WITH_LIBYAJL_LDFLAGS)
+ceph_la_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_LIBYAJL_CPPFLAGS)
 ceph_la_LIBADD = $(BUILD_WITH_LIBYAJL_LIBS)
-collectd_LDADD += "-dlopen" ceph.la
-collectd_DEPENDENCIES += ceph.la
 endif
 
 if BUILD_PLUGIN_CGROUPS