summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pear/PEAR/Builder.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/pear/PEAR/Builder.php b/pear/PEAR/Builder.php
index 47face0a7e..4806155ef5 100644
--- a/pear/PEAR/Builder.php
+++ b/pear/PEAR/Builder.php
@@ -198,6 +198,7 @@ class PEAR_Builder extends PEAR_Common
$dir = getcwd();
$this->log(2, "building in $dir");
$this->current_callback = $callback;
+ putenv('PATH=' . getenv('PATH') . ':' . $this->config->get('bin_dir'));
$err = $this->_runCommand("phpize", array(&$this, 'phpizeCallback'));
if (PEAR::isError($err)) {
return $err;