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