Module: monitoring-plugins Branch: master Commit: ae6fcfde85d04a2333f69a134ac7f3e2f51e1fe6 Author: Lorenz Kästle <[email protected]> Date: Fri Jan 2 13:42:00 2026 +0100 URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=ae6fcfde
Add lib math to check_snmp dependencies --- plugins/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Makefile.am b/plugins/Makefile.am index d098fa8a..fa159f4a 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -164,7 +164,7 @@ check_radius_LDADD = $(NETLIBS) $(RADIUSLIBS) check_real_LDADD = $(NETLIBS) check_snmp_SOURCES = check_snmp.c check_snmp.d/check_snmp_helpers.c check_snmp_LDADD = $(BASEOBJS) -check_snmp_LDFLAGS = $(AM_LDFLAGS) `net-snmp-config --libs` +check_snmp_LDFLAGS = $(AM_LDFLAGS) -lm `net-snmp-config --libs` check_snmp_CFLAGS = $(AM_CFLAGS) `net-snmp-config --cflags` check_smtp_LDADD = $(SSLOBJS) check_ssh_LDADD = $(NETLIBS)
