From: Florian Forster Date: Thu, 18 Jun 2015 14:09:10 +0000 (+0200) Subject: stats plugin: Link with libm (-lm). X-Git-Tag: collectd-5.5.1~98^2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=9c3ed6462c15fd1cb664cd0ec2a5efb289aa1af6;p=collectd.git stats plugin: Link with libm (-lm). Fixes a bug reported by @Tenzer: symbol lookup error: /usr/lib/collectd/statsd.so: undefined symbol: log --- diff --git a/src/Makefile.am b/src/Makefile.am index c80f4bf7..62f98751 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1095,7 +1095,7 @@ pkglib_LTLIBRARIES += statsd.la statsd_la_SOURCES = statsd.c \ utils_latency.h utils_latency.c statsd_la_LDFLAGS = -module -avoid-version -statsd_la_LIBADD = -lpthread +statsd_la_LIBADD = -lpthread -lm collectd_LDADD += "-dlopen" statsd.la collectd_DEPENDENCIES += statsd.la endif