[Privoxy-commits] [privoxy] 03/03: windows build: have to include extra libraries for a mingw build

User Git git at git.privoxy.org
Sun Feb 21 13:46:13 UTC 2021


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit cfde2704fe41650d8bdb5eb9108d5fdc6a91aa19
Author: Lee <ler762 at users.sourceforge.net>
AuthorDate: Sun Feb 21 08:47:26 2021 -0500

    windows build: have to include extra libraries for a mingw build
    
    or maybe it's the way I build the stand-alone library?  dunno, but
    building with mingw also needs "-lbrotlicommon -lbrotlienc" added
    to $LIBS
---
 configure.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure.in b/configure.in
index 8026f7cf..8aba8a79 100644
--- a/configure.in
+++ b/configure.in
@@ -1232,6 +1232,10 @@ AC_HELP_STRING([--without-brotli], [Disable Brotli detection]),
 if test X"$WITH_BROTLI" != Xno; then
 
   LIBS="$LIBS -lbrotlidec"
+  if test $target_type = mingw; then
+    # XXX: why does just the mingw build need this???
+    LIBS="$LIBS -lbrotlicommon -lbrotlienc"
+  fi
 
   AC_CHECK_LIB(brotlidec, BrotliDecoderDecompress)
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list