1 # RPATH issues when upgrading net-snmp to version 5.4.1
3 # Developed in-house. Solaris-specific; not suitable for upstream
4 --- net-snmp-5.9.4/ltmain.sh.orig
5 +++ net-snmp-5.9.4/ltmain.sh
7 if test rpath = "$prev"; then
10 - *) func_append rpath " $arg" ;;
11 + *) func_append rpath " $arg"
12 + # This is make sure only $libdir path is encoded in RUNPATH
13 + sma_rpath="$rpath" ;;
20 eval flag=\"$hardcode_libdir_flag_spec\"
21 - func_append dep_rpath " $flag"
22 +#func_append dep_rpath " $flag"
24 elif test -n "$runpath_var"; then
25 case "$perm_rpath " in