[gnome-panel/gnome-2-30] [build] Add -lm when linking the clock applet



commit ee72f405b5aa93e3aed4bb93d642d919d796bf06
Author: Dan Horak <dan danny cz>
Date:   Tue Jun 22 04:52:19 2010 +0200

    [build] Add -lm when linking the clock applet
    
    The code uses fmod, so we have to link to libm.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=621864

 applets/clock/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/applets/clock/Makefile.am b/applets/clock/Makefile.am
index 7a6b931..b4a0708 100644
--- a/applets/clock/Makefile.am
+++ b/applets/clock/Makefile.am
@@ -66,7 +66,7 @@ CLOCK_LDADD =						\
 	$(CLOCK_LIBS)					\
 	$(LIBPANEL_APPLET_LIBS)				\
 	$(POLKIT_LIBS)				\
-	-lgweather
+	-lgweather -lm
 
 BUILT_SOURCES =					\
 	clock-marshallers.c			\



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