From: Ruben Kerkhof Date: Fri, 3 Jun 2016 15:50:08 +0000 (+0200) Subject: network plugin: stop linking with libpthread X-Git-Tag: collectd-5.6.0~251^2~9 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4493fe2778b16addc64c7a06a0377b9c7fd90105;p=collectd.git network plugin: stop linking with libpthread The collectd daemon already links with it. --- diff --git a/src/Makefile.am b/src/Makefile.am index 321abff4..81ada028 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -679,7 +679,7 @@ network_la_SOURCES = network.c network.h \ utils_fbhash.c utils_fbhash.h network_la_CPPFLAGS = $(AM_CPPFLAGS) network_la_LDFLAGS = $(PLUGIN_LDFLAGS) -network_la_LIBADD = $(PTHREAD_LIBS) +network_la_LIBADD = if BUILD_WITH_LIBSOCKET network_la_LIBADD += -lsocket endif