Skip to content

Commit

Permalink
backport fix for bug #2795. (from 2.0 branch commit b28b41b93ba7).
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Oct 7, 2018
1 parent cb59316 commit c1858c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure
Expand Up @@ -11983,7 +11983,7 @@ find_lib()
else
host_lib_path="/usr/$base_libdir /usr/local/$base_libdir"
fi
for path in $gcc_bin_path $gcc_lib_path $env_lib_path $host_lib_path; do
for path in $env_lib_path $gcc_bin_path $gcc_lib_path $host_lib_path; do
lib=`ls -- $path/$1 2>/dev/null | sort | sed 's/.*\/\(.*\)/\1/; q'`
if test x$lib != x; then
echo $lib
Expand Down
2 changes: 1 addition & 1 deletion configure.in
Expand Up @@ -186,7 +186,7 @@ find_lib()
else
host_lib_path="/usr/$base_libdir /usr/local/$base_libdir"
fi
for path in $gcc_bin_path $gcc_lib_path $env_lib_path $host_lib_path; do
for path in $env_lib_path $gcc_bin_path $gcc_lib_path $host_lib_path; do
lib=[`ls -- $path/$1 2>/dev/null | sort | sed 's/.*\/\(.*\)/\1/; q'`]
if test x$lib != x; then
echo $lib
Expand Down

0 comments on commit c1858c9

Please sign in to comment.