We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fcb74a commit 85b0cd8Copy full SHA for 85b0cd8
src/SPC/builder/extension/swoole.php
@@ -71,7 +71,7 @@ public function getUnixConfigureArg(bool $shared = false): string
71
$config = (new SPCConfigUtil($this->builder))->getLibraryConfig($this->builder->getLib('unixodbc'));
72
$arg .= ' --with-swoole-odbc=unixODBC,' . BUILD_ROOT_PATH . ' SWOOLE_ODBC_LIBS="' . $config['libs'] . '"';
73
}
74
- $arg .= $this->builder->getExt('ftp') ? ' --disable-swoole-ftp' : ' --enable-swoole-ftp';
+ $arg .= $this->builder->getExt('ftp')?->isBuildStatic() ? ' --disable-swoole-ftp' : ' --enable-swoole-ftp';
75
76
if ($this->getExtVersion() >= '6.1.0') {
77
$arg .= ' --enable-swoole-stdext';
0 commit comments