]>
Commit | Line | Data |
---|---|---|
0352604e | 1 | libtool sucks. |
3c926509 MT |
2 | --- ltmain.sh.jj 2007-12-07 14:53:21.000000000 +0100 |
3 | +++ ltmain.sh 2008-09-05 21:51:48.000000000 +0200 | |
0352604e MT |
4 | @@ -5394,6 +5394,7 @@ EOF |
5 | rpath="$finalize_rpath" | |
6 | test "$mode" != relink && rpath="$compile_rpath$rpath" | |
7 | for libdir in $rpath; do | |
8 | + case "$libdir" in /usr/lib|/usr/lib64|/usr/lib/../lib|/usr/lib/../lib64) continue;; esac | |
9 | if test -n "$hardcode_libdir_flag_spec"; then | |
10 | if test -n "$hardcode_libdir_separator"; then | |
11 | if test -z "$hardcode_libdirs"; then | |
12 | @@ -6071,6 +6072,7 @@ EOF | |
13 | rpath= | |
14 | hardcode_libdirs= | |
15 | for libdir in $compile_rpath $finalize_rpath; do | |
16 | + case "$libdir" in /usr/lib|/usr/lib64|/usr/lib/../lib|/usr/lib/../lib64) continue;; esac | |
17 | if test -n "$hardcode_libdir_flag_spec"; then | |
18 | if test -n "$hardcode_libdir_separator"; then | |
19 | if test -z "$hardcode_libdirs"; then | |
20 | @@ -6120,6 +6122,7 @@ EOF | |
21 | rpath= | |
22 | hardcode_libdirs= | |
23 | for libdir in $finalize_rpath; do | |
24 | + case "$libdir" in /usr/lib|/usr/lib64|/usr/lib/../lib|/usr/lib/../lib64) continue;; esac | |
25 | if test -n "$hardcode_libdir_flag_spec"; then | |
26 | if test -n "$hardcode_libdir_separator"; then | |
27 | if test -z "$hardcode_libdirs"; then |