You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by rr...@apache.org on 2018/12/04 15:16:27 UTC

[trafficserver] branch master updated: Prevent linking everything against brotli

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

rrm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 1309ee2  Prevent linking everything against brotli
1309ee2 is described below

commit 1309ee2629a5e2b983bd69ae777750a013ec605e
Author: Randall Meyer <ra...@yahoo.com>
AuthorDate: Mon Dec 3 16:58:24 2018 -0800

    Prevent linking everything against brotli
    
    Defines an empty function for "action-if-found" to prevent default
    autoconf behavior (prepending -llibrary to LIBS and defining ‘HAVE_LIBlibrary’)
---
 build/brotli.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build/brotli.m4 b/build/brotli.m4
index a3189b6..b9c0261 100644
--- a/build/brotli.m4
+++ b/build/brotli.m4
@@ -77,7 +77,7 @@ fi
 ],
 [
 AC_CHECK_HEADER([brotli/encode.h], [], [has_brotli=0])
-AC_CHECK_LIB([brotlienc], BrotliEncoderCreateInstance, [], [has_brotli=0])
+AC_CHECK_LIB([brotlienc], BrotliEncoderCreateInstance, [:], [has_brotli=0])
 
 if test "x$has_brotli" == "x0"; then
     PKG_CHECK_EXISTS([LIBBROTLIENC],