[pango/1.28] Bug 644596 - Build failure due to missing linker flags in 1.28 branch



commit 9f5cd4025f9a3520e1fabe8fc13d4bad5704ed50
Author: Wouter Bolsterlee <wbolster gnome org>
Date:   Sun Mar 13 01:22:22 2011 +0100

    Bug 644596 - Build failure due to missing linker flags in 1.28 branch

 examples/Makefile.am |    3 ++-
 tests/Makefile.am    |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/examples/Makefile.am b/examples/Makefile.am
index a2c5a2b..a9d1836 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -21,7 +21,8 @@ cairosimple_LDADD =					\
 	../pango/libpango-$(PANGO_API_VERSION).la	\
 	../pango/libpangocairo-$(PANGO_API_VERSION).la	\
 	$(GLIB_LIBS)					\
-	$(CAIRO_LIBS)
+	$(CAIRO_LIBS)					\
+	-lm
 if HAVE_FREETYPE
 cairosimple_LDADD +=					\
 	../pango/libpangoft2-$(PANGO_API_VERSION).la
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 75248a5..93fdf78 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -60,7 +60,7 @@ testiter_LDADD = ../pango/libpango-$(PANGO_API_VERSION).la ../pango/libpangocair
 testscript_LDADD = ../pango/libpango-$(PANGO_API_VERSION).la
 test_ot_tags_LDADD = ../pango/libpango-$(PANGO_API_VERSION).la ../pango/libpangoft2-$(PANGO_API_VERSION).la 
 
-dump_boundaries_LDADD = ../pango/libpango-$(PANGO_API_VERSION).la
+dump_boundaries_LDADD = $(GLIB_LIBS) ../pango/libpango-$(PANGO_API_VERSION).la
 
 if HAVE_CXX
 check_PROGRAMS += cxx-test



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