Bug 627978 - explicitly link with the math lib (-lm) for use of 'cos'
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 25 Aug 2010 19:48:41 +0000 (15:48 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 25 Aug 2010 19:48:41 +0000 (15:48 -0400)
examples/Makefile.am

index a2c5a2b..4cb54ba 100644 (file)
@@ -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)                                    \