projects
/
pharext
/
pharext
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
support for zend_extension
[pharext/pharext]
/
src
/
pharext
/
SourceDir
/
Pecl.php
diff --git
a/src/pharext/SourceDir/Pecl.php
b/src/pharext/SourceDir/Pecl.php
index 0b7055a99da64e0afb162490a18944bbeffd030c..9ca97264c480923817c1b5e1f808954888c8cf33 100644
(file)
--- a/
src/pharext/SourceDir/Pecl.php
+++ b/
src/pharext/SourceDir/Pecl.php
@@
-57,6
+57,13
@@
class Pecl implements \IteratorAggregate, SourceDir
$cmd->warn("%s\n", $error);
}
}
$cmd->warn("%s\n", $error);
}
}
+ if (!isset($args->zend)) {
+ if ($sxe->xpath("/pecl:package/pecl:zendextsrcrelease")) {
+ foreach ($args->parse(1, ["--zend"]) as $error) {
+ $cmd->warn("%s\n", $error);
+ }
+ }
+ }
$this->cmd = $cmd;
$this->sxe = $sxe;
$this->cmd = $cmd;
$this->sxe = $sxe;