[pango] Bug 627978 - explicitly link with the math lib (-lm) for use of 'cos'



commit 7030230ac42811e44fb47d9af0149e425abacc79
Author: Behdad Esfahbod <behdad behdad org>
Date:   Wed Aug 25 15:48:41 2010 -0400

    Bug 627978 - explicitly link with the math lib (-lm) for use of 'cos'

 examples/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/examples/Makefile.am b/examples/Makefile.am
index a2c5a2b..4cb54ba 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -18,6 +18,7 @@ if HAVE_CAIRO_PNG
 noinst_PROGRAMS += cairosimple cairotwisted cairoshape
 
 cairosimple_LDADD =					\
+	-lm						\
 	../pango/libpango-$(PANGO_API_VERSION).la	\
 	../pango/libpangocairo-$(PANGO_API_VERSION).la	\
 	$(GLIB_LIBS)					\



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