Code

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

src/Makefile.am

index 955f04eecc50f67ae19abe92511b6cb104442ba9..f701944f37ec34f5d292779681687163c51fbf85 100644 (file)
@@ -343,7 +343,7 @@ if BUILD_PLUGIN_DNS
 pkglib_LTLIBRARIES += dns.la
 dns_la_SOURCES = dns.c utils_dns.c utils_dns.h
 dns_la_LDFLAGS = $(PLUGIN_LDFLAGS)
-dns_la_LIBADD = $(PTHREAD_LIBS) -lpcap
+dns_la_LIBADD = -lpcap
 endif
 
 if BUILD_PLUGIN_DRBD