Fix installing lzf of PHP 7.1- (#492)

Test: lzf
pull/494/head 1.4.10
Michele Locati 2022-01-10 15:47:37 +01:00 committed by GitHub
parent ab76d49355
commit d86be8c965
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -2255,6 +2255,11 @@ installRemoteModule() {
fi
;;
lzf)
if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -lt 702; then
installRemoteModule_version=1.6.8
fi
fi
if test -z "$installRemoteModule_version" || test $(compareVersions "$installRemoteModule_version" '1.5.0') -ge 0; then
# Sacrifice speed in favour of compression ratio?
case "${IPE_LZF_BETTERCOMPRESSION:-}" in