From 7709c0e4f3a9ea4fddbe5764c000135f9eacac49 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 10 Jan 2011 10:58:57 +0100 Subject: fix wrong rpath and cflags --- package/rtorrent/patches/patch-ltmain_sh | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 package/rtorrent/patches/patch-ltmain_sh (limited to 'package/rtorrent/patches/patch-ltmain_sh') diff --git a/package/rtorrent/patches/patch-ltmain_sh b/package/rtorrent/patches/patch-ltmain_sh new file mode 100644 index 000000000..9b491ecbb --- /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 && -- cgit v1.2.3