projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a3958e
)
src/Makefile: Link the ping plugin against libm.
author
Sebastian Harl
<sh@tokkee.org>
Sat, 6 Jun 2009 20:13:03 +0000
(22:13 +0200)
committer
Sebastian Harl
<sh@tokkee.org>
Thu, 2 Jul 2009 13:16:11 +0000
(15:16 +0200)
The plugin now uses sqrt() which is provided by the math lib.
src/Makefile.am
patch
|
blob
|
history
diff --git
a/src/Makefile.am
b/src/Makefile.am
index
7c65c1c
..
aca1af7
100644
(file)
--- 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