Skip to content

Commit 5c29113

Browse files
committed
swoole version upgrade to v6.0.2
1 parent 13d0137 commit 5c29113

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sapi/src/builder/extension/swoole.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// v5.1.x 不支持 PHP 8.4
1515
// swoole 支持计划 https://wiki.swoole.com/zh-cn/#/version/supported?id=%e6%94%af%e6%8c%81%e8%ae%a1%e5%88%92
1616

17-
$swoole_tag = 'v6.0.1';
17+
$swoole_tag = 'v6.0.2';
1818
$file = "swoole-{$swoole_tag}.tar.gz";
1919

2020
$url = "https://github.com/swoole/swoole-src/archive/refs/tags/{$swoole_tag}.tar.gz";
@@ -70,7 +70,7 @@
7070
$p->withBeforeConfigureScript('swoole', function (Preprocessor $p) {
7171
$cmd = '';
7272
if ($p->isMacos()) {
73-
$workDir = $p->getWorkDir();
73+
$workDir = $p->getPhpSrcDir() ;
7474
$cmd = <<<EOF
7575
cd {$workDir}/
7676
sed -i '' 's/pthread_barrier_init/pthread_barrier_init_x_fake/' ext/swoole/config.m4

0 commit comments

Comments
 (0)