aports/main/rrdtool/libm-underlinking.patch
TBK 1274b475a7 main/rrdtool: upgrade to 1.7.0
As of 1.6.0 librrd is fully thread-safe and librrd_th was removed.

https://oss.oetiker.ch/rrdtool/pub/CHANGES
2018-03-26 17:27:27 +00:00

12 lines
273 B
Diff

--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -128,7 +128,7 @@
rrdtool_SOURCES = rrd_tool.c
rrdtool_DEPENDENCIES = librrd.la
-rrdtool_LDADD = librrd.la
+rrdtool_LDADD = librrd.la -lm
rrdcached_SOURCES = rrd_daemon.c
rrdcached_DEPENDENCIES = librrd.la librrdupd.la