Code

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 37160c108013b7a1091988b72abad282c53db6e4..eb55de30151533af0246dc18f060dd84c3285d79 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