equal
deleted
inserted
replaced
140 if test "$cross_compiling" = yes; then |
140 if test "$cross_compiling" = yes; then |
141 host_lib_path="" |
141 host_lib_path="" |
142 else |
142 else |
143 host_lib_path="/usr/$base_libdir /usr/local/$base_libdir" |
143 host_lib_path="/usr/$base_libdir /usr/local/$base_libdir" |
144 fi |
144 fi |
145 for path in $gcc_bin_path $gcc_lib_path $env_lib_path $host_lib_path; do |
145 for path in $env_lib_path $gcc_bin_path $gcc_lib_path $host_lib_path; do |
146 lib=[`ls -- $path/$1 2>/dev/null | sed -e '/\.so\..*\./d' -e 's,.*/,,' | sort | tail -1`] |
146 lib=[`ls -- $path/$1 2>/dev/null | sed -e '/\.so\..*\./d' -e 's,.*/,,' | sort | tail -1`] |
147 if test x$lib != x; then |
147 if test x$lib != x; then |
148 echo $lib |
148 echo $lib |
149 return |
149 return |
150 fi |
150 fi |