Commit a7b9452a authored by Kalle Vahlman's avatar Kalle Vahlman Committed by Daniel Stenberg
Browse files

Allow tools to be defined with full path in buildconf

This is required in Scratchbox where
LIBTOOL=/targets/links/arch_tools/bin/libtool
is set in the environment.
parent 2c1b0624
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -33,6 +33,11 @@ die(){
findtool(){
  file="$1"

  if test -f "$file"; then
    echo "$file"
    return
  fi

  old_IFS=$IFS; IFS=':'
  for path in $PATH
  do