From 4c9ac3b522705d79cc5e1fde4f9e05783c9cc237 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 29 Aug 2023 12:56:15 +0000 Subject: [PATCH] enable libidn2 for non-Windows builds --- _build.sh | 2 +- _dl.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/_build.sh b/_build.sh index 2f418afaf..e8d8b8bca 100755 --- a/_build.sh +++ b/_build.sh @@ -38,7 +38,7 @@ set -o xtrace -o errexit -o nounset; [ -n "${BASH:-}${ZSH_NAME:-}" ] && set -o p # wolfssl build with wolfSSL (caveats!) # wolfssh build with wolfSSH (requires wolfSSL) # libssh build with libssh -# big build with more features, see README.md +# big build with libidn2, see README.md (for win target) # mini build with less features, see README.md # micro build with less features, see README.md # nano build with less features, see README.md diff --git a/_dl.sh b/_dl.sh index c414d3d59..e938eb272 100755 --- a/_dl.sh +++ b/_dl.sh @@ -695,7 +695,8 @@ if [ "${_BRANCH#*pico*}" = "${_BRANCH}" ] && \ fi fi -if [ "${_BRANCH#*big*}" != "${_BRANCH}" ]; then +if [ "${_OS}" != 'win' ] || \ + [ "${_BRANCH#*big*}" != "${_BRANCH}" ]; then live_dl libidn2 "${LIBIDN2_VER_}" live_xt libidn2 "${LIBIDN2_HASH}"