Created
August 14, 2011 04:06
-
-
Save santiago/1144558 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if test "$link_all_deplibs" != no; then | |
# Add the search paths of all dependency libraries | |
for deplib in $dependency_libs; do | |
case $deplib in | |
-L*) path="$deplib" ;; | |
*.la) | |
func_dirname "$deplib" "" "." | |
dir="$func_dirname_result" | |
# We need an absolute path. | |
case $dir in | |
[\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; | |
*) | |
absdir=`cd "$dir" && pwd` | |
if test -z "$absdir"; then | |
func_warning "cannot determine absolute directory name of \`$dir'" | |
absdir="$dir" | |
fi | |
;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment