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 6b1c954..a946970 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