SHA256
1
0
forked from pool/freetype2
freetype2/freetype2-no_rpath.patch
2013-01-14 23:27:06 +00:00

36 lines
980 B
Diff

---
builds/unix/freetype-config.in | 5 -----
1 file changed, 5 deletions(-)
Index: builds/unix/freetype-config.in
===================================================================
--- builds/unix/freetype-config.in.orig
+++ builds/unix/freetype-config.in
@@ -14,11 +14,10 @@ exec_prefix=@exec_prefix@
exec_prefix_set=no
includedir=@includedir@
libdir=@libdir@
enable_shared=@build_libtool_libs@
wl=@wl@
-hardcode_libdir_flag_spec='@hardcode_libdir_flag_spec@'
usage()
{
cat <<EOF
Usage: freetype-config [OPTION]...
@@ -138,14 +137,10 @@ if test "$echo_cflags" = "yes" ; then
echo $cflags
fi
fi
if test "$echo_libs" = "yes" ; then
- rpath=
- if test "$enable_shared" = "yes" ; then
- eval "rpath=\"$hardcode_libdir_flag_spec\""
- fi
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
echo $libs