mirror of
https://github.com/mlocati/docker-php-extension-installer
synced 2025-05-10 00:52:45 +00:00
Add support for LZF
This commit is contained in:
parent
fbd19903cf
commit
c23d3891b6
3 changed files with 22 additions and 0 deletions
|
@ -1703,6 +1703,19 @@ installRemoteModule() {
|
|||
cp "$installRemoteModule_src/$installRemoteModule_so" "$(getPHPExtensionsDir)/$installRemoteModule_module.so"
|
||||
installRemoteModule_manuallyInstalled=1
|
||||
;;
|
||||
lzf)
|
||||
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
|
||||
1 | y* | Y*)
|
||||
addConfigureOption 'enable-lzf-better-compression' 'yes'
|
||||
;;
|
||||
*)
|
||||
addConfigureOption 'enable-lzf-better-compression' 'no'
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
;;
|
||||
mailparse)
|
||||
if test -z "$installRemoteModule_version"; then
|
||||
if test $PHP_MAJMIN_VERSION -le 506; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue