diff --git a/src/Makefile.am b/src/Makefile.am
index fc9041d8c6666d039453ff5a20ff8c466f60336c..4ea3be0ed985c034df363a56b9f31cc2f1503e50 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
if BUILD_WITH_LIBSOCKET
network_la_LDFLAGS += -lsocket
endif
if BUILD_WITH_LIBSOCKET
network_la_LDFLAGS += -lsocket
endif
+if BUILD_WITH_LIBPTHREAD
+network_la_LDFLAGS += -lpthread
+endif
collectd_LDADD += "-dlopen" network.la
collectd_DEPENDENCIES += network.la
endif
collectd_LDADD += "-dlopen" network.la
collectd_DEPENDENCIES += network.la
endif