From: Matthias Clasen Date: Tue, 23 Aug 2011 12:36:09 +0000 (-0400) Subject: Fix the build X-Git-Tag: 1.29.5~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=710101e12e2d1dddf1a9c9df01c0b27e028cd1f4;p=platform%2Fupstream%2Fpango.git Fix the build With gcc 4.6.1, I get a build error in pango/ because the C++ parts in harfbuzz have not been compiles with -lPIC. Not sure if this change is 100% correct, but it makes things build successfully. --- diff --git a/pango/opentype/Makefile.am b/pango/opentype/Makefile.am index 23bb55b..32330fb 100644 --- a/pango/opentype/Makefile.am +++ b/pango/opentype/Makefile.am @@ -45,6 +45,7 @@ HBHEADERS = \ libharfbuzz_la_SOURCES = $(HBSOURCES) $(HBHEADERS) libharfbuzz_la_CPPFLAGS = -DHAVE_GLIB $(GLIB_CFLAGS) +libharfbuzz_la_CXXFLAGS = -fPIC libharfbuzz_la_LIBADD = $(GLIB_LIBS) noinst_PROGRAMS = main