diff --git a/src/Makefile.am b/src/Makefile.am
index 6e7e339574387329a05bfdc5ac5c0ea8ae53940d..d9b3b9cabc9a35783188f104fe1868d2c8421582 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
endif
endif
endif
endif
+if BUILD_MODULE_MBMON
+pkglib_LTLIBRARIES += mbmon.la
+mbmon_la_SOURCES = mbmon.c
+mbmon_la_LDFLAGS = -module -avoid-version
+if BUILD_WITH_LIBSOCKET
+mbmon_la_LDFLAGS += -lsocket
+endif
+collectd_LDADD += "-dlopen" mbmon.la
+collectd_DEPENDENCIES += mbmon.la
+endif
+
if BUILD_MODULE_MEMORY
pkglib_LTLIBRARIES += memory.la
memory_la_SOURCES = memory.c
if BUILD_MODULE_MEMORY
pkglib_LTLIBRARIES += memory.la
memory_la_SOURCES = memory.c