projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
246bfbc
)
windows build: have to include extra libraries for a mingw build
author
Lee
<ler762@users.sourceforge.net>
Sun, 21 Feb 2021 13:47:26 +0000
(08:47 -0500)
committer
Lee
<ler762@users.sourceforge.net>
Sun, 21 Feb 2021 13:47:26 +0000
(08:47 -0500)
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
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
8026f7c
..
8aba8a7
100644
(file)
--- 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)