File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
src/SPC/builder/extension Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -50,13 +50,10 @@ 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 ' ;
53+ $ arg .= ' --enable-swoole-ftp --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
57- // required features: curl, openssl (but curl hook is buggy for php 8.0)
58- $ arg .= $ this ->builder ->getPHPVersionID () >= 80100 ? ' --enable-swoole-curl ' : ' --disable-swoole-curl ' ;
59-
6057 // additional features that only require libraries
6158 $ arg .= $ this ->builder ->getLib ('libcares ' ) ? ' --enable-cares ' : '' ;
6259 $ arg .= $ this ->builder ->getLib ('brotli ' ) ? (' --enable-brotli --with-brotli-dir= ' . BUILD_ROOT_PATH ) : '' ;
You can’t perform that action at this time.
0 commit comments