update the windows build to use the latest mbed tls v2.16.10
[privoxy.git] / windows / MYconfigure
index acbc8e5..ad845b0 100755 (executable)
@@ -133,12 +133,21 @@ LDFLAGS="${LDFLAGS} -L${lib}"
 
 # mbedtls
 # Get the 2.16.x mbedtls library from  https://github.com/ARMmbed/mbedtls/tags
-inc="/source/mbedtls-2.16.9/include"
-lib="/source/mbedtls-2.16.9/library"
+inc="/source/mbedtls-2.16.10/include"
+lib="/source/mbedtls-2.16.10/library"
 MITMOPT="--with-mbedtls"
 CPPFLAGS="${CPPFLAGS} -I${inc}"
 LDFLAGS="${LDFLAGS} -L${lib}"
 
+# brotli
+# Get the brotli library from  https://github.com/google/brotli/releases
+inc="/source/brotli-1.0.9/c/include"
+lib="/source/brotli-1.0.9/.libs"
+BROTLIOPT="--with-brotli"
+CPPFLAGS="${CPPFLAGS} -I${inc}"
+LDFLAGS="${LDFLAGS} -L${lib}"
+
+###
 echo "CFLAGS=${CFLAGS}"
 echo "CPPFLAGS=${CPPFLAGS}"
 echo "LDFLAGS=${LDFLAGS}"
@@ -154,6 +163,8 @@ echo "LDFLAGS=${LDFLAGS}"
              --disable-pthread  \
              --enable-extended-statistics \
              --enable-pcre-host-patterns \
+             --with-brotli  \
+             --with-mbedtls \
              --with-docbook=yes
 
 #  -- done --