parent
57009be2b8
commit
96fedafb8d
|
@ -1192,10 +1192,18 @@ buildRequiredPackageLists() {
|
||||||
swoole@alpine)
|
swoole@alpine)
|
||||||
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent postgresql-libs libstdc++ $buildRequiredPackageLists_libssl"
|
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent postgresql-libs libstdc++ $buildRequiredPackageLists_libssl"
|
||||||
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile curl-dev postgresql-dev linux-headers $buildRequiredPackageLists_libssldev"
|
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile curl-dev postgresql-dev linux-headers $buildRequiredPackageLists_libssldev"
|
||||||
|
if test $PHP_MAJMIN_VERSION -ge 702; then
|
||||||
|
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent c-ares"
|
||||||
|
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile c-ares-dev"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
swoole@debian)
|
swoole@debian)
|
||||||
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libcurl3-gnutls libpq5"
|
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libcurl3-gnutls libpq5"
|
||||||
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile $buildRequiredPackageLists_libssldev libcurl4-gnutls-dev libpq-dev"
|
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile $buildRequiredPackageLists_libssldev libcurl4-gnutls-dev libpq-dev"
|
||||||
|
if test $PHP_MAJMIN_VERSION -ge 702; then
|
||||||
|
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libc-ares2"
|
||||||
|
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libc-ares-dev"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
sybase_ct@alpine)
|
sybase_ct@alpine)
|
||||||
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent freetds"
|
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent freetds"
|
||||||
|
@ -3145,6 +3153,9 @@ installRemoteModule() {
|
||||||
# https://github.com/swoole/swoole-src/issues/3977#issuecomment-754755521
|
# https://github.com/swoole/swoole-src/issues/3977#issuecomment-754755521
|
||||||
addConfigureOption enable-swoole-curl no
|
addConfigureOption enable-swoole-curl no
|
||||||
fi
|
fi
|
||||||
|
if test -z "$installRemoteModule_version" || test $(compareVersions "$installRemoteModule_version" 4.8.11) -ge 0; then
|
||||||
|
addConfigureOption enable-cares yes
|
||||||
|
fi
|
||||||
elif test $(compareVersions "$installRemoteModule_version" 4.4.0) -ge 0; then
|
elif test $(compareVersions "$installRemoteModule_version" 4.4.0) -ge 0; then
|
||||||
# enable sockets supports?
|
# enable sockets supports?
|
||||||
addConfigureOption enable-sockets $installRemoteModule_sockets
|
addConfigureOption enable-sockets $installRemoteModule_sockets
|
||||||
|
|
Loading…
Reference in New Issue