Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Improved find_lib, gets the latest version of libpng, etc.

  • Loading branch information
slouken committed Jun 8, 2013
1 parent 8eb8ef9 commit b2015d6993abc3931a042ab285342372e501b7d0
Showing with 1 addition and 1 deletion.
  1. +1 −1 configure.in
@@ -119,7 +119,7 @@ find_lib()
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
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
echo $lib
return

0 comments on commit b2015d6

Please sign in to comment.