2004-11-16 Owen Taylor <otaylor@redhat.com> * builds/unix/freetype-config.in: Supress -L$libdir for /usr/lib64 as well as /usr/lib. (Reported by Dan Winship - https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=139199)
diff --git a/ChangeLog b/ChangeLog
index 93090c4..0be4a78 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-11-16 Owen Taylor <otaylor@redhat.com>
+
+ * builds/unix/freetype-config.in: Supress -L$libdir for
+ /usr/lib64 as well as /usr/lib. (Reported by Dan Winship -
+ https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=139199)
+
2004-11-11 Werner Lemberg <wl@gnu.org>
* src/cff/cffdrivr.c (cff_service_ps_info): Updated.
diff --git a/builds/unix/freetype-config.in b/builds/unix/freetype-config.in
index 9a6ae10..d92a877 100644
--- a/builds/unix/freetype-config.in
+++ b/builds/unix/freetype-config.in
@@ -119,7 +119,7 @@ if test "$echo_libs" = "yes" ; then
eval "rpath=\"$hardcode_libdir_flag_spec\""
fi
libs="-lfreetype @LIBZ@"
- if test "$libdir" != "/usr/lib" ; then
+ if test "$libdir" != "/usr/lib" && test "$libdir" != "/usr/lib64"; then
echo -L$libdir $rpath $libs
else
echo $libs