notify_email: don't explicitly link against libssl and libcrypto
authorMarc Fournier <marc.fournier@camptocamp.com>
Sat, 28 Jan 2017 10:47:38 +0000 (11:47 +0100)
committerMarc Fournier <marc.fournier@camptocamp.com>
Sun, 5 Feb 2017 11:23:03 +0000 (12:23 +0100)
libesmtp takes care of this.

Pointed out by https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852924

src/Makefile.am

index eb55de3..f8dc283 100644 (file)
@@ -787,7 +787,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 = -lesmtp -lssl -lcrypto
+notify_email_la_LIBADD = -lesmtp
 endif
 
 if BUILD_PLUGIN_NOTIFY_NAGIOS