From 710101e12e2d1dddf1a9c9df01c0b27e028cd1f4 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 23 Aug 2011 08:36:09 -0400 Subject: [PATCH] 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. --- pango/opentype/Makefile.am | 1 + 1 file changed, 1 insertion(+) 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 -- 2.7.4