From 0b9f46183979b42dfc078f6edf65ff4281735dbc Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sat, 6 Jun 2009 22:13:03 +0200 Subject: [PATCH] src/Makefile: Link the ping plugin against libm. The plugin now uses sqrt() which is provided by the math lib. --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 7c65c1c8..aca1af71 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -695,7 +695,7 @@ pkglib_LTLIBRARIES += ping.la ping_la_SOURCES = ping.c ping_la_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_LIBOPING_CPPFLAGS) ping_la_LDFLAGS = -module -avoid-version $(BUILD_WITH_LIBOPING_LDFLAGS) -ping_la_LIBADD = -loping +ping_la_LIBADD = -loping -lm collectd_LDADD += "-dlopen" ping.la collectd_DEPENDENCIES += ping.la endif -- 2.30.2