From cfde2704fe41650d8bdb5eb9108d5fdc6a91aa19 Mon Sep 17 00:00:00 2001 From: Lee Date: Sun, 21 Feb 2021 08:47:26 -0500 Subject: [PATCH] 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) -- 2.39.2