Fixed bugs in the Darwin code of the `disk' plugin. It mostly works now.
[collectd.git] / src / Makefile.am
index c554abe..025548a 100644 (file)
@@ -105,6 +105,9 @@ if BUILD_MODULE_DISK
 pkglib_LTLIBRARIES += disk.la
 disk_la_SOURCES = disk.c
 disk_la_LDFLAGS = -module -avoid-version
+if BUILD_WITH_LIBIOKIT
+disk_la_LDFLAGS += -lIOKit
+endif
 collectd_LDADD += "-dlopen" disk.la
 collectd_DEPENDENCIES += disk.la
 endif