Re: freetype bug (was: Re: Pango-1.16.4 released)



On Fri, Apr 27, 2007 at 12:18:53PM +0200, Robert Schwebel wrote:
> harfbuzz-dump-main.o: In function `main':
> /some/path/build-target/pango-trunk/pango/opentype/harfbuzz-dump-main.c:225:
> undefined reference to `FT_Init_FreeType'
> /some/path/build-target/pango-trunk/pango/opentype/harfbuzz-dump-main.c:228:
> undefined reference to `FT_New_Face'
> /some/path/build-target/pango-trunk/pango/opentype/harfbuzz-dump-main.c:264:
> undefined reference to `FT_Done_Face'
> /some/path/build-target/pango-trunk/pango/opentype/harfbuzz-dump-main.c:267:
> undefined reference to `FT_Done_FreeType'
> 
> Looks like freetype isn't linked in.

This makes it go away:
 
diff -urN pango-1.16.3-orig/pango/opentype/Makefile.am pango-1.16.3/pango/opentype/Makefile.am
--- pango-1.16.3-orig/pango/opentype/Makefile.am	2007-01-03 09:14:56.000000000 +0100
+++ pango-1.16.3/pango/opentype/Makefile.am	2007-04-27 12:20:44.000000000 +0200
@@ -47,7 +47,8 @@
 	harfbuzz-dump-main.c
 
 harfbuzz_dump_LDADD = 		\
-	libharfbuzz-1.la
+	libharfbuzz-1.la \
+	$(FREETYPE_LIBS)
 
 EXTRA_DIST = 		\
 	README		\

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9




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