Code

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

src/Makefile.am

index 81ada02800a3d5d8a47d95d343cc8d6048bf7fba..baae78b70a93053787645a74245240c2b4424558 100644 (file)
@@ -726,7 +726,7 @@ if BUILD_PLUGIN_NOTIFY_EMAIL
 pkglib_LTLIBRARIES += notify_email.la
 notify_email_la_SOURCES = notify_email.c
 notify_email_la_LDFLAGS = $(PLUGIN_LDFLAGS)
-notify_email_la_LIBADD = $(PTHREAD_LIBS) -lesmtp -lssl -lcrypto
+notify_email_la_LIBADD = -lesmtp -lssl -lcrypto
 endif
 
 if BUILD_PLUGIN_NOTIFY_NAGIOS