[pango] Fix the build



commit 710101e12e2d1dddf1a9c9df01c0b27e028cd1f4
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Aug 23 08:36:09 2011 -0400

    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 files changed, 1 insertions(+), 0 deletions(-)
---
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



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