]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Add missing library to ntpsnmpd build
authorHarlan Stenn <stenn@ntp.org>
Wed, 29 Feb 2012 01:27:35 +0000 (20:27 -0500)
committerHarlan Stenn <stenn@ntp.org>
Wed, 29 Feb 2012 01:27:35 +0000 (20:27 -0500)
bk: 4f4d7f07IgVN6K5wUzkOritzconYJQ

ntpsnmpd/Makefile.am

index 9993d8f531ef4c6207932a7ee14e08e4049de227..7dfd8abc2d8fce0b9cc6aef13b3baf718a51285a 100644 (file)
@@ -9,7 +9,7 @@ ntpsnmpd_SOURCES= netsnmp_daemonize.c ntpsnmpd.c ntpSnmpSubagentObject.c \
                ntpsnmpd-opts.c ntpsnmpd-opts.h ntpSnmpSubagentObject.h \
                ntp_snmp.h
 # HMS: we probably want a version.o file here, too.
-LDADD  = ../ntpq/libntpq.a ../libntp/libntp.a $(LDADD_LIBNTP)
+LDADD  = ../ntpq/libntpq.a ../libntp/libntp.a $(LDADD_LIBNTP) $(LIBM)
 LDADD += $(PTHREAD_LIBS) $(LCRYPTO) $(SNMP_LIBS) $(LIBOPTS_LDADD)
 
 AM_CFLAGS = $(SNMP_CFLAGS) $(CFLAGS_NTP)