[monitoring-plugins] Prevent -lcrypto from showing up in Makefile ...

GitHub git at monitoring-plugins.org
Sat Dec 23 16:00:12 CET 2023


    Module: monitoring-plugins
    Branch: master
    Commit: f25648d6bbfdefd25d8c366e3e6913927bd3fe75
    Author: Eric Knibbe <enk3 at outlook.com>
 Committer: GitHub <noreply at github.com>
      Date: Wed Dec  6 11:40:18 2023 -0500
       URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=f25648d

Prevent -lcrypto from showing up in Makefile dependencies

---

 plugins-root/Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/plugins-root/Makefile.am b/plugins-root/Makefile.am
index 40aa020..a80229e 100644
--- a/plugins-root/Makefile.am
+++ b/plugins-root/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_PROGRAMS = pst3
 
 EXTRA_DIST = t pst3.c
 
-BASEOBJS = ../plugins/utils.o ../lib/libmonitoringplug.a ../gl/libgnu.a $(LIB_CRYPTO)
+BASEOBJS = ../plugins/utils.o ../lib/libmonitoringplug.a ../gl/libgnu.a
 NETOBJS = ../plugins/netutils.o $(BASEOBJS) $(EXTRA_NETOBJS)
 NETLIBS = $(NETOBJS) $(SOCKETLIBS)
 
@@ -80,8 +80,8 @@ install-exec-local: $(noinst_PROGRAMS)
 
 ##############################################################################
 # the actual targets
-check_dhcp_LDADD = @LTLIBINTL@ $(NETLIBS)
-check_icmp_LDADD = @LTLIBINTL@ $(NETLIBS) $(SOCKETLIBS)
+check_dhcp_LDADD = @LTLIBINTL@ $(NETLIBS) $(LIB_CRYPTO)
+check_icmp_LDADD = @LTLIBINTL@ $(NETLIBS) $(SOCKETLIBS) $(LIB_CRYPTO)
 
 # -m64 needed at compiler and linker phase
 pst3_CFLAGS = @PST3CFLAGS@



More information about the Commits mailing list