summaryrefslogtreecommitdiff
path: root/package/rtorrent/patches/patch-ltmain_sh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-10 09:58:57 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-10 09:58:57 (GMT)
commit7709c0e4f3a9ea4fddbe5764c000135f9eacac49 (patch)
treeecaf6ae324113ce92c97a2191919a1959efc43c1 /package/rtorrent/patches/patch-ltmain_sh
parent9c2ebc92f8f3f1e7b02e0724eab2bc4d9b5edfd0 (diff)
fix wrong rpath and cflags
Diffstat (limited to 'package/rtorrent/patches/patch-ltmain_sh')
-rw-r--r--package/rtorrent/patches/patch-ltmain_sh30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/rtorrent/patches/patch-ltmain_sh b/package/rtorrent/patches/patch-ltmain_sh
new file mode 100644
index 0000000..9b491ec
--- /dev/null
+++ b/package/rtorrent/patches/patch-ltmain_sh
@@ -0,0 +1,30 @@
+--- rtorrent-0.8.5.orig/ltmain.sh 2009-06-18 21:37:48.000000000 +0200
++++ rtorrent-0.8.5/ltmain.sh 2011-01-09 01:46:11.000000000 +0100
+@@ -5516,27 +5516,6 @@ func_mode_link ()
+ esac
+ fi
+
+- # Hardcode the library path.
+- # Skip directories that are in the system default run-time
+- # search path.
+- case " $sys_lib_dlsearch_path " in
+- *" $absdir "*) ;;
+- *)
+- case "$compile_rpath " in
+- *" $absdir "*) ;;
+- *) compile_rpath="$compile_rpath $absdir"
+- esac
+- ;;
+- esac
+- case " $sys_lib_dlsearch_path " in
+- *" $libdir "*) ;;
+- *)
+- case "$finalize_rpath " in
+- *" $libdir "*) ;;
+- *) finalize_rpath="$finalize_rpath $libdir"
+- esac
+- ;;
+- esac
+ fi # $linkmode,$pass = prog,link...
+
+ if test "$alldeplibs" = yes &&