From: Sebastian Harl Date: Sat, 6 Jun 2009 20:13:03 +0000 (+0200) Subject: src/Makefile: Link the ping plugin against libm. X-Git-Tag: collectd-4.7.2~5 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=0b9f46183979b42dfc078f6edf65ff4281735dbc;p=collectd.git src/Makefile: Link the ping plugin against libm. The plugin now uses sqrt() which is provided by the math lib. --- 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