chrony: add missing build flag
authorMarc Fournier <marc.fournier@camptocamp.com>
Tue, 10 Jan 2017 20:39:22 +0000 (21:39 +0100)
committerMarc Fournier <marc.fournier@camptocamp.com>
Tue, 10 Jan 2017 20:39:22 +0000 (21:39 +0100)
This is a backport of 211bd4843.

src/Makefile.am

index 37160c1..eb55de3 100644 (file)
@@ -249,6 +249,7 @@ if BUILD_PLUGIN_CHRONY
 pkglib_LTLIBRARIES += chrony.la
 chrony_la_SOURCES = chrony.c
 chrony_la_LDFLAGS = $(PLUGIN_LDFLAGS)
+chrony_la_LIBADD = -lm
 endif
 
 if BUILD_PLUGIN_CONNTRACK