0004-no-rpath.patch 750 B

1234567891011121314151617
  1. Patch out rpath hardcoding since it completely ignores --disable-rpath
  2. and other configure ways.
  3. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
  4. diff -Nura mcrypt-2.6.8.orig/config.rpath mcrypt-2.6.8/config.rpath
  5. --- mcrypt-2.6.8.orig/config.rpath 2013-01-07 13:05:22.626883480 -0300
  6. +++ mcrypt-2.6.8/config.rpath 2013-01-07 13:12:47.196090608 -0300
  7. @@ -153,7 +153,7 @@
  8. # here allows them to be overridden if necessary.
  9. # Unlike libtool, we use -rpath here, not --rpath, since the documented
  10. # option of GNU ld is called -rpath, not --rpath.
  11. - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  12. + hardcode_libdir_flag_spec=
  13. case "$host_os" in
  14. aix3* | aix4* | aix5*)
  15. # On AIX/PPC, the GNU linker is very broken