From 4493fe2778b16addc64c7a06a0377b9c7fd90105 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Fri, 3 Jun 2016 17:50:08 +0200 Subject: [PATCH] network plugin: stop linking with libpthread The collectd daemon already links with it. --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2