shithub: freetype+ttf2subf

Download patch

ref: 41d7e4a6ed959e274d63a154bdc31a5b9fa8130d
parent: 1909959973585c9f827683dfc33391d4654c37eb
author: suzuki toshiya <[email protected]>
date: Wed Jan 5 21:34:07 EST 2011

Update pkg-config tools to reflect Bzip2 support.

* builds/unix/freetype-config.in: Include `-lbz2' to
--libs output, if built with Bzip2 support.
* builds/unix/freetype2.in: Ditto.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2010-01-05  suzuki toshiya  <[email protected]>
 
+	Update pkg-config tools to reflect Bzip2 support.
+
+	* builds/unix/freetype-config.in: Include `-lbz2' to
+	--libs output, if built with Bzip2 support.
+	* builds/unix/freetype2.in: Ditto.
+
+2010-01-05  suzuki toshiya  <[email protected]>
+
 	* builds/unix/configure.raw: Remove `SYSTEM_BZ2LIB' macro.
 
 	SYSTEM_ZLIB is used to switch the builtin zlib source
--- a/builds/unix/freetype-config.in
+++ b/builds/unix/freetype-config.in
@@ -144,7 +144,7 @@
   if test "$enable_shared" = "yes" ; then
     eval "rpath=\"$hardcode_libdir_flag_spec\""
   fi
-  libs="-lfreetype @LIBZ@ @FT2_EXTRA_LIBS@"
+  libs="-lfreetype @LIBZ@ @LIBBZ2@ @FT2_EXTRA_LIBS@"
   if test "${SYSROOT}$libdir" != "/usr/lib" && test "${SYSROOT}$libdir" != "/usr/lib64"; then
     echo -L${SYSROOT}$libdir $libs
   else
--- a/builds/unix/freetype2.in
+++ b/builds/unix/freetype2.in
@@ -8,5 +8,5 @@
 Version: @ft_version@
 Requires:
 Libs: -L${libdir} -lfreetype
-Libs.private: @LIBZ@ @FT2_EXTRA_LIBS@
+Libs.private: @LIBZ@ @LIBBZ2@ @FT2_EXTRA_LIBS@
 Cflags: -I${includedir}/freetype2 -I${includedir}