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.
This commit is contained in:
suzuki toshiya 2011-01-06 02:34:07 +09:00
parent 1909959973
commit 41d7e4a6ed
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2010-01-05 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
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 <mpsuzuki@hiroshima-u.ac.jp>
* builds/unix/configure.raw: Remove `SYSTEM_BZ2LIB' macro.

View File

@ -144,7 +144,7 @@ if test "$echo_libs" = "yes" ; then
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

View File

@ -8,5 +8,5 @@ Description: A free, high-quality, and portable font engine.
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}