Skip to content

Commit c9682e1

Browse files
committed
switch to zlib-ng by default
1 parent a0b34ae commit c9682e1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

_build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ set -o xtrace -o errexit -o nounset; [ -n "${BASH:-}${ZSH_NAME:-}" ] && set -o p
99
# Build configuration environment variables:
1010
#
1111
# CW_BLD
12-
# List of components to build. E.g. 'curl' or 'zlib libssh2 curl' or 'none'.
12+
# List of components to build. E.g. 'curl' or 'zlibng libssh2 curl' or 'none'.
1313
# Optional. Default: (all)
1414
#
1515
# CW_GET
16-
# List of components to (re-)download. E.g. 'zlib curl' or 'none'.
16+
# List of components to (re-)download. E.g. 'zlibng curl' or 'none'.
1717
# Optional. Default: (all)
1818
#
1919
# CW_NOGET
@@ -38,7 +38,7 @@ set -o xtrace -o errexit -o nounset; [ -n "${BASH:-}${ZSH_NAME:-}" ] && set -o p
3838
# nobrotli build without brotli
3939
# nozstd build without zstd
4040
# nozlib build without zlib
41-
# zlibng build with zlib-ng instead of zlib
41+
# zlibold build with zlib (classic) instead of zlib-ng
4242
# nocares build without c-ares
4343
# noftp build without FTP/FTPS support
4444
# nohttp build without HTTP and proxy support

_dl.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -657,10 +657,10 @@ fi
657657
export _DEPS='curl'
658658

659659
if [[ ! "${_CONFIG}" =~ (zero|nozlib) ]]; then
660-
if [[ "${_CONFIG}" = *'zlibng'* ]]; then
661-
_DEPS+=' zlibng'
662-
else
660+
if [[ "${_CONFIG}" = *'zlibold'* ]]; then
663661
_DEPS+=' zlibold'
662+
else
663+
_DEPS+=' zlibng'
664664
fi
665665
fi
666666

0 commit comments

Comments
 (0)