From 7030230ac42811e44fb47d9af0149e425abacc79 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 25 Aug 2010 15:48:41 -0400 Subject: Bug 627978 - explicitly link with the math lib (-lm) for use of 'cos' --- examples/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/Makefile.am b/examples/Makefile.am index a2c5a2b8..4cb54baf 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) \ -- cgit v1.2.1