[gnome-settings-daemon] build: Link test-power plugin against -lm, it uses floor()



commit c36c0eb9ead862dda785648f9f69b44f56c9e014
Author: Colin Walters <walters verbum org>
Date:   Thu Jun 14 14:36:14 2012 -0400

    build: Link test-power plugin against -lm, it uses floor()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=678120

 plugins/power/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/power/Makefile.am b/plugins/power/Makefile.am
index b2e37ea..d5c0472 100644
--- a/plugins/power/Makefile.am
+++ b/plugins/power/Makefile.am
@@ -76,6 +76,7 @@ test_power_SOURCES =					\
 test_power_CFLAGS = $(libpower_la_CFLAGS)
 test_power_CPPFLAGS = $(libpower_la_CPPFLAGS)
 test_power_LDADD =					\
+	-lm						\
 	$(top_builddir)/plugins/common/libcommon.la	\
 	$(top_builddir)/gnome-settings-daemon/libgsd.la \
 	$(UPOWER_LIBS)					\



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]