projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1a8429
)
chrony: add missing build flag
author
Thomas Jost
<schnouki@schnouki.net>
Wed, 4 Jan 2017 12:27:57 +0000
(13:27 +0100)
committer
GitHub
<noreply@github.com>
Wed, 4 Jan 2017 12:27:57 +0000
(13:27 +0100)
The chrony plugin uses the `pow()` math function so it needs to be built with `-lm`. Otherwise collectd crashes with `symbol lookup error: /usr/lib/collectd/chrony.so: undefined symbol: pow`.
Makefile.am
patch
|
blob
|
history
diff --git
a/Makefile.am
b/Makefile.am
index
3460cf6
..
323e17c
100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-609,6
+609,7
@@
if BUILD_PLUGIN_CHRONY
pkglib_LTLIBRARIES += chrony.la
chrony_la_SOURCES = src/chrony.c
chrony_la_LDFLAGS = $(PLUGIN_LDFLAGS)
+chrony_la_LIBADD = -lm
endif
if BUILD_PLUGIN_CONNTRACK