]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
SCRIPTS: build-ssl: fix quictls build for 1.1.1 versions
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 19 Jan 2026 13:18:39 +0000 (14:18 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 19 Jan 2026 13:45:47 +0000 (14:45 +0100)
The quictls build function was not using anymore the right make target
to build older versions. make all must be used instead of make build_sw
for 1.1.1.

scripts/build-ssl.sh

index 2fc00a24d80eba2008a8b58276bad2c110264c9d..048188817c6d25bc90f7e81b2a52a4d1ffdabd4c 100755 (executable)
@@ -222,7 +222,11 @@ build_quictls () {
         cp -r include/* ${BUILDSSL_DESTDIR}/include
     else
         ./config shared no-tests ${QUICTLS_EXTRA_ARGS:-} --prefix="${BUILDSSL_DESTDIR}" --openssldir="${BUILDSSL_DESTDIR}" --libdir=lib -DPURIFY
-        make -j$(nproc) build_sw
+        if [ -z "${QUICTLS_VERSION##OpenSSL_1_1_1*}" ]; then
+            make all
+        else
+            make -j$(nproc) build_sw
+        fi
         make install_sw
     fi
 }