File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/SPC/builder/extension Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public function getUnixConfigureArg(bool $shared = false): string
5050
5151 // commonly used feature: coroutine-time
5252 $ arg .= ' --enable-swoole-coro-time --with-pic ' ;
53- $ arg .= ' --enable-swoole-ftp --enable-swoole- ssh --enable-swoole-curl ' ;
53+ $ arg .= ' --enable-swoole-ssh --enable-swoole-curl ' ;
5454
5555 $ arg .= $ this ->builder ->getOption ('enable-zts ' ) ? ' --enable-swoole-thread --disable-thread-context ' : ' --disable-swoole-thread --enable-thread-context ' ;
5656
@@ -71,6 +71,7 @@ public function getUnixConfigureArg(bool $shared = false): string
7171 $ config = (new SPCConfigUtil ($ this ->builder ))->getLibraryConfig ($ this ->builder ->getLib ('unixodbc ' ));
7272 $ arg .= ' --with-swoole-odbc=unixODBC, ' . BUILD_ROOT_PATH . ' SWOOLE_ODBC_LIBS=" ' . $ config ['libs ' ] . '" ' ;
7373 }
74+ $ arg .= $ this ->builder ->getExt ('ftp ' ) ? ' --disable-swoole-ftp ' : ' --enable-swoole-ftp ' ;
7475
7576 if ($ this ->getExtVersion () >= '6.1.0 ' ) {
7677 $ arg .= ' --enable-swoole-stdext ' ;
You can’t perform that action at this time.
0 commit comments