Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Improved find_lib, gets the latest version of libpng, etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jun 8, 2013
1 parent 8eb8ef9 commit b2015d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.in
Expand Up @@ -119,7 +119,7 @@ find_lib()
host_lib_path="/usr/$base_libdir /usr/local/$base_libdir" host_lib_path="/usr/$base_libdir /usr/local/$base_libdir"
fi fi
for path in $gcc_bin_path $gcc_lib_path $env_lib_path $host_lib_path; do for path in $gcc_bin_path $gcc_lib_path $env_lib_path $host_lib_path; do
lib=[`ls -- $path/$1 2>/dev/null | sort | sed 's/.*\/\(.*\)/\1/; q'`] lib=[`ls -- $path/$1 2>/dev/null | sed -e '/\.so\..*\./d' -e 's,.*/,,' | sort | tail -1`]
if test x$lib != x; then if test x$lib != x; then
echo $lib echo $lib
return return
Expand Down

0 comments on commit b2015d6

Please sign in to comment.