Code

nut plugin: stop linking with libpthread
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 3 Jun 2016 15:50:57 +0000 (17:50 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 3 Jun 2016 15:50:57 +0000 (17:50 +0200)
The collectd daemon already links with it.

src/Makefile.am

index baae78b70a93053787645a74245240c2b4424558..6b1c954ac1a8731df9d46fb9a770081a94f9dd97 100644 (file)
@@ -756,7 +756,7 @@ pkglib_LTLIBRARIES += nut.la
 nut_la_SOURCES = nut.c
 nut_la_CFLAGS = $(AM_CFLAGS) $(BUILD_WITH_LIBUPSCLIENT_CFLAGS)
 nut_la_LDFLAGS = $(PLUGIN_LDFLAGS)
-nut_la_LIBADD = $(PTHREAD_LIBS) $(BUILD_WITH_LIBUPSCLIENT_LIBS)
+nut_la_LIBADD = $(BUILD_WITH_LIBUPSCLIENT_LIBS)
 endif
 
 if BUILD_PLUGIN_OLSRD