mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
swoole-ftp conflicts with ftp
This commit is contained in:
parent
1049a3ce66
commit
1fcb74ad9b
@ -50,7 +50,7 @@ class swoole extends Extension
|
|||||||
|
|
||||||
// commonly used feature: coroutine-time
|
// commonly used feature: coroutine-time
|
||||||
$arg .= ' --enable-swoole-coro-time --with-pic';
|
$arg .= ' --enable-swoole-coro-time --with-pic';
|
||||||
$arg .= ' --enable-swoole-ftp --enable-swoole-ssh --enable-swoole-curl';
|
$arg .= ' --enable-swoole-ssh --enable-swoole-curl';
|
||||||
|
|
||||||
$arg .= $this->builder->getOption('enable-zts') ? ' --enable-swoole-thread --disable-thread-context' : ' --disable-swoole-thread --enable-thread-context';
|
$arg .= $this->builder->getOption('enable-zts') ? ' --enable-swoole-thread --disable-thread-context' : ' --disable-swoole-thread --enable-thread-context';
|
||||||
|
|
||||||
@ -71,6 +71,7 @@ class swoole extends Extension
|
|||||||
$config = (new SPCConfigUtil($this->builder))->getLibraryConfig($this->builder->getLib('unixodbc'));
|
$config = (new SPCConfigUtil($this->builder))->getLibraryConfig($this->builder->getLib('unixodbc'));
|
||||||
$arg .= ' --with-swoole-odbc=unixODBC,' . BUILD_ROOT_PATH . ' SWOOLE_ODBC_LIBS="' . $config['libs'] . '"';
|
$arg .= ' --with-swoole-odbc=unixODBC,' . BUILD_ROOT_PATH . ' SWOOLE_ODBC_LIBS="' . $config['libs'] . '"';
|
||||||
}
|
}
|
||||||
|
$arg .= $this->builder->getExt('ftp') ? ' --disable-swoole-ftp' : ' --enable-swoole-ftp';
|
||||||
|
|
||||||
if ($this->getExtVersion() >= '6.1.0') {
|
if ($this->getExtVersion() >= '6.1.0') {
|
||||||
$arg .= ' --enable-swoole-stdext';
|
$arg .= ' --enable-swoole-stdext';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user