use stable sources for swoole and swow

This commit is contained in:
DubbleClick 2025-07-18 11:53:36 +07:00
parent e675af9a18
commit 33d974bb3d
2 changed files with 6 additions and 12 deletions

View File

@ -957,24 +957,18 @@
}, },
"swoole": { "swoole": {
"path": "php-src/ext/swoole", "path": "php-src/ext/swoole",
"type": "git", "type": "ghtar",
"rev": "master", "repo": "swoole/swoole-src",
"url": "https://github.com/swoole/swoole-src.git", "prefer-stable": true,
"license": { "license": {
"type": "file", "type": "file",
"path": "LICENSE" "path": "LICENSE"
},
"alt": {
"type": "ghtar",
"repo": "swoole/swoole-src",
"prefer-stable": true
} }
}, },
"swow": { "swow": {
"type": "git",
"path": "php-src/ext/swow-src", "path": "php-src/ext/swow-src",
"rev": "ci", "type": "ghtar",
"url": "https://github.com/swow/swow", "repo": "swoole/swoole-src",
"license": { "license": {
"type": "file", "type": "file",
"path": "LICENSE" "path": "LICENSE"

View File

@ -263,7 +263,7 @@ class Extension
$ret = ''; $ret = '';
foreach ($order as $ext) { foreach ($order as $ext) {
if ($ext instanceof Extension && $ext->isBuildShared()) { if ($ext instanceof self && $ext->isBuildShared()) {
if (Config::getExt($ext->getName(), 'zend-extension', false) === true) { if (Config::getExt($ext->getName(), 'zend-extension', false) === true) {
$ret .= " -d \"zend_extension={$ext->getName()}\""; $ret .= " -d \"zend_extension={$ext->getName()}\"";
} else { } else {