Skip to content

Commit

Permalink
add libssh2 option to enable it in any build [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Jan 2, 2025
1 parent 639dc33 commit 06f0acb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions _build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ set -o xtrace -o errexit -o nounset; [ -n "${BASH:-}${ZSH_NAME:-}" ] && set -o p
# ostls build with OS-supplied TLS backend-only (Schannel or SecureTransport)
# osnotls build without OS-supplied TLS backends
# libssh1 build with libssh
# libssh2 build with libssh2
# mini build with less features, see README.md
# micro build with less features, see README.md
# nano build with less features, see README.md
Expand Down
2 changes: 1 addition & 1 deletion _dl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ if [[ ! "${_CONFIG}" =~ (zero|bldtst|pico|nano) ]]; then
fi
fi

if [[ ! "${_CONFIG}" =~ (zero|bldtst|pico|nano|micro) || "${_CONFIG}" = *'libssh1'* ]]; then
if [[ ! "${_CONFIG}" =~ (zero|bldtst|pico|nano|micro) || "${_CONFIG}" =~ (libssh1|libssh2) ]]; then
if [[ "${_CONFIG}" = *'libssh1'* ]]; then
_DEPS+=' libssh1'
else
Expand Down

0 comments on commit 06f0acb

Please sign in to comment.