From: Marc Fournier Date: Tue, 14 Apr 2015 06:35:28 +0000 (+0200) Subject: notify_email: avoid linking against libdl X-Git-Tag: collectd-5.5.0~12^2~6^2^2 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=0632ace737ca2d9808c3daf61935ff94bfe9e503;hp=ba51433eb374ccf21da089132f1f6f1a342f06bd;p=collectd.git notify_email: avoid linking against libdl This flag seems to have been accidentally added in 451d75bae1 and prevents building the plugin on platforms which don't have GNU libc. Conflicts: src/Makefile.am --- diff --git a/src/Makefile.am b/src/Makefile.am index 40b8293d..47a9a08a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -720,7 +720,7 @@ if BUILD_PLUGIN_NOTIFY_EMAIL pkglib_LTLIBRARIES += notify_email.la notify_email_la_SOURCES = notify_email.c notify_email_la_LDFLAGS = -module -avoid-version -notify_email_la_LIBADD = -lesmtp -lssl -lcrypto -lpthread -ldl +notify_email_la_LIBADD = -lesmtp -lssl -lcrypto -lpthread collectd_LDADD += "-dlopen" notify_email.la collectd_DEPENDENCIES += notify_email.la endif