You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by al...@apache.org on 2022/03/04 18:15:49 UTC

[kudu] branch branch-1.16.x updated: [thirdparty] build curl without brotli

This is an automated email from the ASF dual-hosted git repository.

alexey pushed a commit to branch branch-1.16.x
in repository https://gitbox.apache.org/repos/asf/kudu.git


The following commit(s) were added to refs/heads/branch-1.16.x by this push:
     new fd18103  [thirdparty] build curl without brotli
fd18103 is described below

commit fd1810320be74fd5ac50f607fc2714c8f6d0b8df
Author: Alexey Serbin <al...@apache.org>
AuthorDate: Thu Mar 3 14:39:34 2022 -0800

    [thirdparty] build curl without brotli
    
    The default build configuration for curl has the brotli compression
    opportunistically enabled.  If brotli libraries and headers are found
    at the build machine, the configure script picks them up and then the
    generated curl library depends on corresponding brotli libraries.  That
    on itself requires extra brotli libraries to be linked in when building
    statically linked kudu binaries (that's so for RELEASE builds).
    
    This patch disables broli for the libcurl library build as a part of
    Kudu's thirdparty.
    
    Change-Id: I14ef696302cc1653f3efd6dba5714ce3927c1d20
    Reviewed-on: http://gerrit.cloudera.org:8080/18288
    Tested-by: Alexey Serbin <as...@cloudera.com>
    Reviewed-by: Andrew Wong <aw...@cloudera.com>
    (cherry picked from commit 1750aedbbe20134b7dec52cd52ac6c2e330d77e0)
    Reviewed-on: http://gerrit.cloudera.org:8080/18292
    Reviewed-by: Alexey Serbin <as...@cloudera.com>
---
 thirdparty/build-definitions.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/thirdparty/build-definitions.sh b/thirdparty/build-definitions.sh
index 7a1ce24..d851e32 100644
--- a/thirdparty/build-definitions.sh
+++ b/thirdparty/build-definitions.sh
@@ -742,6 +742,7 @@ build_curl() {
     --disable-smtp \
     --disable-telnet \
     --disable-tftp \
+    --without-brotli \
     --without-libidn2 \
     --without-libpsl \
     --without-librtmp \