projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b396ba
)
stats plugin: Link with libm (-lm).
author
Florian Forster
<octo@collectd.org>
Thu, 18 Jun 2015 14:09:10 +0000
(16:09 +0200)
committer
Florian Forster
<octo@collectd.org>
Thu, 18 Jun 2015 14:09:10 +0000
(16:09 +0200)
Fixes a bug reported by @Tenzer:
symbol lookup error: /usr/lib/collectd/statsd.so: undefined symbol: log
src/Makefile.am
patch
|
blob
|
history
diff --git
a/src/Makefile.am
b/src/Makefile.am
index
c80f4bf
..
62f9875
100644
(file)
--- 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