Enable curl for recent swoole versions (#462)

Test: swoole
pull/468/head 1.4.2
Michele Locati 2021-11-05 23:42:30 +01:00 committed by GitHub
parent 142add91f6
commit c516929275
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2596,7 +2596,7 @@ installRemoteModule() {
# enable json support? # enable json support?
addConfigureOption enable-swoole-json yes addConfigureOption enable-swoole-json yes
# enable curl support? # enable curl support?
if test $PHP_MAJMINPAT_VERSION -ne 80000; then if test $PHP_MAJMINPAT_VERSION -ne 80000 || test -z "$installRemoteModule_version" || test $(compareVersions "$installRemoteModule_version" 4.6.1) -ge 0; then
addConfigureOption enable-swoole-curl yes addConfigureOption enable-swoole-curl yes
else else
# https://github.com/swoole/swoole-src/issues/3977#issuecomment-754755521 # https://github.com/swoole/swoole-src/issues/3977#issuecomment-754755521