From: Sebastian Andrzej Siewior Date: Sun, 5 Feb 2017 19:40:33 +0000 (+0000) Subject: Remove SSL libs from libs X-Git-Tag: archive/raspbian/5.12.0-3+rpi1~1^2^2^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=db7fd976540bb98f79aac52f54a0b057f34f36c0;p=collectd.git Remove SSL libs from libs The Makefile/Configure adds "-lssl -lcrypto" but does not depend libssl-dev nor does it use any of its functions diretly. Depending on those should not be needed unless for static compilation thus removing them. BTS: https://bugs.debian.org/852924 Gbp-Pq: Name drop_lssl_lcrypto_from_linking.patch --- diff --git a/configure.ac b/configure.ac index ab6f229..ea5368f 100644 --- a/configure.ac +++ b/configure.ac @@ -3574,7 +3574,7 @@ then if test "x$LIBNETAPP_LIBS" = "x" then - LIBNETAPP_LIBS="$PTHREAD_LIBS -lxml -ladt -lssl -lm -lcrypto -lz" + LIBNETAPP_LIBS="$PTHREAD_LIBS -lxml -ladt -lm -lz" fi AC_MSG_NOTICE([netapp LIBS: $LIBNETAPP_LIBS]) diff --git a/src/Makefile.am b/src/Makefile.am index be4162b..11bc17d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -825,7 +825,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