252N/A--- net-snmp-5.4.2.1/ltmain.sh Fri Jun 6 02:34:34 2008
252N/A+++ net-snmp-5.4.2.1/ltmain.mod.sh Tue Feb 3 11:02:05 2009
252N/A@@ -1425,7 +1425,9 @@
252N/A if test "$prev" = rpath; then
252N/A case "$rpath " in
252N/A *" $arg "*) ;;
252N/A- *) rpath="$rpath $arg" ;;
252N/A+ *) rpath="$rpath $arg"
252N/A+ # This is make sure only $libdir path is encoded in RUNPATH
252N/A+ sma_rpath="$rpath" ;;
252N/A esac
252N/A else
252N/A case "$xrpath " in
252N/A@@ -3915,7 +3917,7 @@
252N/A if test "$hardcode_into_libs" = yes; then
252N/A # Hardcode the library paths
252N/A hardcode_libdirs=
252N/A- dep_rpath=
252N/A+ dep_rpath="-R $sma_rpath"
252N/A rpath="$finalize_rpath"
252N/A test "$mode" != relink && rpath="$compile_rpath$rpath"
252N/A for libdir in $rpath; do
252N/A@@ -3935,7 +3937,7 @@
252N/A fi
252N/A else
252N/A eval flag=\"$hardcode_libdir_flag_spec\"
252N/A- dep_rpath="$dep_rpath $flag"
252N/A+ #dep_rpath="$dep_rpath $flag"
252N/A fi
252N/A elif test -n "$runpath_var"; then
252N/A case "$perm_rpath " in