diff -Naur freetype-2.1.3~/builds/unix/configure.ac freetype-2.1.3/builds/unix/configure.ac --- freetype-2.1.3~/builds/unix/configure.ac 2002-12-22 02:11:07.000000000 +0800 +++ freetype-2.1.3/builds/unix/configure.ac 2002-12-22 05:35:50.000000000 +0800 @@ -90,10 +90,12 @@ fi if test x$with_zlib != xno && test -n "$LIBZ"; then CFLAGS="$CFLAGS -DFT_CONFIG_OPTION_SYSTEM_ZLIB" + LDFLAGS="$LDFLAGS $LIBZ" SYSTEM_ZLIB=yes fi AC_SUBST(LIBZ) AC_SUBST(CFLAGS) +AC_SUBST(LDFLAGS) AC_SUBST(SYSTEM_ZLIB) diff -Naur freetype-2.1.3~/builds/unix/unix-cc.in freetype-2.1.3/builds/unix/unix-cc.in --- freetype-2.1.3~/builds/unix/unix-cc.in 2002-05-05 18:57:06.000000000 +0800 +++ freetype-2.1.3/builds/unix/unix-cc.in 2002-12-22 05:33:34.000000000 +0800 @@ -78,6 +78,7 @@ # Library linking # LINK_LIBRARY = $(LIBTOOL) --mode=link $(CCraw) -o $@ $(OBJECTS_LIST) \ - -rpath $(libdir) -version-info $(version_info) + -rpath $(libdir) -version-info $(version_info) \ + $(LDFLAGS) # EOF diff -Naur freetype-2.1.3~/builds/unix/unix-def.in freetype-2.1.3/builds/unix/unix-def.in --- freetype-2.1.3~/builds/unix/unix-def.in 2002-12-22 05:38:00.000000000 +0800 +++ freetype-2.1.3/builds/unix/unix-def.in 2002-12-22 05:48:51.000000000 +0800 @@ -85,8 +85,8 @@ LIB_DIR := $(OBJ_DIR) -# The SYSTEM_ZLIB macro is defined if the user whishes to link dynamically -# whith its system wide zlib. If SYSTEM_ZLIB is 'yes', the zlib part of the +# The SYSTEM_ZLIB macro is defined if the user wishes to link dynamically +# with its system wide zlib. If SYSTEM_ZLIB is 'yes', the zlib part of the # ftgzip module is not compiled in. SYSTEM_ZLIB := @SYSTEM_ZLIB@