summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/phpize.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/phpize.in b/scripts/phpize.in
index 013718f7d7..8f29e0c00e 100644
--- a/scripts/phpize.in
+++ b/scripts/phpize.in
@@ -57,7 +57,8 @@ touch install-sh mkinstalldirs missing
aclocal || exit 1
autoconf || exit 1
autoheader || exit 1
-libtoolize -f -c || exit 1
+libtoolize=`$phpdir/shtool path glibtoolize libtoolize`
+$libtoolize -f -c || exit 1
# dumping API NOs:
PHP_API_VERSION=`egrep '#define PHP_API_VERSION' $includedir/main/php.h|sed 's/#define PHP_API_VERSION//'`