Remove SSL libs from libs
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Sun, 5 Feb 2017 19:40:33 +0000 (19:40 +0000)
committerSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Sun, 5 Feb 2017 19:40:33 +0000 (19:40 +0000)
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

configure.ac
src/Makefile.am

index ab6f2298072e603708f14f70ab942aff61a9d278..ea5368fd115b191f217d4f19bcd483f586476f81 100644 (file)
@@ -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])
 
index be4162bee7493cea1eb379835d6908655f38dfb3..11bc17d9f04f6bb514cf737f8f695870fab0b9c0 100644 (file)
@@ -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