freetype-config x86-64 suckage
Where in the world do I submit this patch, so that mozilla doesn’t have (bad) hardcoded rpaths the libraries, when linked on x86_64 Linux distros that use /usr/lib64 for 64-bit libraries?
Update: This was redhat bug 139199, fixed on rawhide and in freetype’s trunk sources.
--- /usr/bin/freetype-config~ 2005-03-04 13:47:22.000000000 -0500
+++ /usr/bin/freetype-config 2006-07-22 16:13:39.000000000 -0400
@@ -3,9 +3,10 @@
prefix=/usr
exec_prefix=/usr
exec_prefix_set=no
includedir=/usr/include
-libdir=/usr/lib64
+default_libdir=/usr/lib64
+libdir=$default_libdir
enable_shared=yes
wl=-Wl,
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
@@ -118,9 +119,9 @@
if test "$enable_shared" = "yes" ; then
eval "rpath=\"$hardcode_libdir_flag_spec\""
fi
libs="-lfreetype -lz"
- if test "$libdir" != "/usr/lib" ; then
+ if test "$libdir" != "$default_libdir" ; then
echo -L$libdir $rpath $libs
else
echo $libs
fi