summaryrefslogtreecommitdiffstats
path: root/package/mcrypt/mcrypt-no-rpath.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-01-07 08:13:00 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-13 21:30:23 +0100
commit9e02c32fd6a064bf256c5e76abbf65e432892489 (patch)
treec27e257573b54dcdeaaeebce19aaa380843b147c /package/mcrypt/mcrypt-no-rpath.patch
parenteddffaad60357d738550bb832acb419c1452e633 (diff)
downloadbuildroot-novena-9e02c32fd6a064bf256c5e76abbf65e432892489.tar.gz
buildroot-novena-9e02c32fd6a064bf256c5e76abbf65e432892489.zip
mcrypt: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/mcrypt/mcrypt-no-rpath.patch')
-rw-r--r--package/mcrypt/mcrypt-no-rpath.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/mcrypt/mcrypt-no-rpath.patch b/package/mcrypt/mcrypt-no-rpath.patch
new file mode 100644
index 000000000..a0813bcf0
--- /dev/null
+++ b/package/mcrypt/mcrypt-no-rpath.patch
@@ -0,0 +1,17 @@
+Patch out rpath hardcoding since it completely ignores --disable-rpath
+and other configure ways.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+diff -Nura mcrypt-2.6.8.orig/config.rpath mcrypt-2.6.8/config.rpath
+--- mcrypt-2.6.8.orig/config.rpath 2013-01-07 13:05:22.626883480 -0300
++++ mcrypt-2.6.8/config.rpath 2013-01-07 13:12:47.196090608 -0300
+@@ -153,7 +153,7 @@
+ # here allows them to be overridden if necessary.
+ # Unlike libtool, we use -rpath here, not --rpath, since the documented
+ # option of GNU ld is called -rpath, not --rpath.
+- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++ hardcode_libdir_flag_spec=
+ case "$host_os" in
+ aix3* | aix4* | aix5*)
+ # On AIX/PPC, the GNU linker is very broken