From 92b128e35c8e3bd11d6f852bab80af4c02732d99 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sat, 13 Jan 2007 18:20:19 +0100 Subject: [PATCH] src/Makefile.am: Link the network plugin against pthread. --- src/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Makefile.am b/src/Makefile.am index fc9041d8..4ea3be0e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -277,6 +277,9 @@ network_la_LDFLAGS = -module -avoid-version 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 -- 2.30.2