summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild/buildcheck.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/buildcheck.sh b/build/buildcheck.sh
index 5bd685b16..c2538e9e8 100755
--- a/build/buildcheck.sh
+++ b/build/buildcheck.sh
@@ -21,7 +21,8 @@ echo "buildconf: autoconf version $ac_version (ok)"
fi
# libtool 1.3.3 or newer
-lt_pversion=`libtool --version 2>/dev/null|sed -e 's/^[^0-9]*//' -e 's/[- ].*//'`
+libtool=`build/PrintPath glibtool libtool`
+lt_pversion=`$libtool --version 2>/dev/null|sed -e 's/^[^0-9]*//' -e 's/[- ].*//'`
if test "$lt_pversion" = ""; then
echo "buildconf: libtool not found."
echo " You need libtool version 1.3 or newer installed"