summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-08-23 08:36:09 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-08-23 08:36:09 -0400
commit710101e12e2d1dddf1a9c9df01c0b27e028cd1f4 (patch)
treea5d0458bb3f11692bd591f28bc9171726562238a
parentc37ae57816ac22543fd9fbcf880518406cd1457d (diff)
downloadpango-710101e12e2d1dddf1a9c9df01c0b27e028cd1f4.tar.gz
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.
-rw-r--r--pango/opentype/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/opentype/Makefile.am b/pango/opentype/Makefile.am
index 23bb55b3..32330fbe 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