Code

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

src/Makefile.am

index 6b1c954ac1a8731df9d46fb9a770081a94f9dd97..a94697093eebfbae95c9f3f0043a0f6685693ca5 100644 (file)
@@ -962,9 +962,6 @@ if BUILD_WITH_LIBNETSNMP
 snmp_la_CFLAGS += $(BUILD_WITH_LIBSNMP_CFLAGS)
 snmp_la_LIBADD += $(BUILD_WITH_LIBSNMP_LIBS)
 endif
-if BUILD_WITH_LIBPTHREAD
-snmp_la_LIBADD += $(PTHREAD_LIBS)
-endif
 endif
 
 if BUILD_PLUGIN_STATSD