equal
deleted
inserted
replaced
|
1 --- net-snmp-5.4.2.1/ltmain.sh Fri Jun 6 02:34:34 2008 |
|
2 +++ net-snmp-5.4.2.1/ltmain.mod.sh Tue Feb 3 11:02:05 2009 |
|
3 @@ -1425,7 +1425,9 @@ |
|
4 if test "$prev" = rpath; then |
|
5 case "$rpath " in |
|
6 *" $arg "*) ;; |
|
7 - *) rpath="$rpath $arg" ;; |
|
8 + *) rpath="$rpath $arg" |
|
9 + # This is make sure only $libdir path is encoded in RUNPATH |
|
10 + sma_rpath="$rpath" ;; |
|
11 esac |
|
12 else |
|
13 case "$xrpath " in |
|
14 @@ -3915,7 +3917,7 @@ |
|
15 if test "$hardcode_into_libs" = yes; then |
|
16 # Hardcode the library paths |
|
17 hardcode_libdirs= |
|
18 - dep_rpath= |
|
19 + dep_rpath="-R $sma_rpath" |
|
20 rpath="$finalize_rpath" |
|
21 test "$mode" != relink && rpath="$compile_rpath$rpath" |
|
22 for libdir in $rpath; do |
|
23 @@ -3935,7 +3937,7 @@ |
|
24 fi |
|
25 else |
|
26 eval flag=\"$hardcode_libdir_flag_spec\" |
|
27 - dep_rpath="$dep_rpath $flag" |
|
28 + #dep_rpath="$dep_rpath $flag" |
|
29 fi |
|
30 elif test -n "$runpath_var"; then |
|
31 case "$perm_rpath " in |