From: Florian Forster Date: Sat, 13 Jan 2007 17:20:19 +0000 (+0100) Subject: src/Makefile.am: Link the network plugin against pthread. X-Git-Tag: collectd-4.0.0~242 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=92b128e35c8e3bd11d6f852bab80af4c02732d99;p=collectd.git src/Makefile.am: Link the network plugin against pthread. --- 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