[Privoxy-commits] [privoxy] branch master updated: windows build doc: use the PCRE2 10.x library

User Git git at git.privoxy.org
Wed Jan 1 16:58:39 CET 2025


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

git pushed a commit to branch master
in repository privoxy.

The following commit(s) were added to refs/heads/master by this push:
     new 2853a41d windows build doc: use the PCRE2 10.x library
2853a41d is described below

commit 2853a41db5c13e890393a2b0fa1c46f4d81c674b
Author: Lee <ler762 at users.sourceforge.net>
AuthorDate: Wed Jan 1 10:58:03 2025 -0500

    windows build doc: use the PCRE2 10.x library
    
    the old 8.x PCTRE library has been unsupported for ages.
---
 doc/source/user-manual.sgml | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

diff --git a/doc/source/user-manual.sgml b/doc/source/user-manual.sgml
index 7cc7c53f..126bc863 100644
--- a/doc/source/user-manual.sgml
+++ b/doc/source/user-manual.sgml
@@ -412,27 +412,21 @@ MAKENSIS = /<root-dir>/nsis/makensis.exe
 </screen>
 
       <para>
-        Get the latest 8.x PCRE code from
-        <ulink url="https://sourceforge.net/projects/pcre/files/pcre/">PCRE
-                    https://sourceforge.net/projects/pcre/files/pcre/</ulink>
+        Get the latest 10.x PCRE code from
+        <ulink url="https://github.com/PCRE2Project/pcre2/releases">
+                    https://github.com/PCRE2Project/pcre2/releases</ulink>
         and build the static PCRE libraries with
 
         <screen>
 export CFLAGS="-O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2"
 export LDFLAGS="-fstack-protector-strong"
-export CPPFLAGS="-DPCRE_STATIC"
+export CPPFLAGS="-DPCRE2_STATIC"
 
 ./configure  --host=i686-w64-mingw32 \
              --prefix=/usr/local/i686-w64-mingw32 \
-             --enable-utf  --enable-unicode-properties \
              --enable-jit \
              --enable-newline-is-anycrlf \
-             --enable-pcre16 \
-             --enable-pcre32 \
-             --disable-pcregrep-libbz2 \
-             --disable-pcregrep-libz \
-             --disable-pcretest-libreadline \
-             --disable-stack-for-recursion  \
+             --with-gnu-ld \
              --enable-static --disable-shared \
   &&  make
 </screen>

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


More information about the Privoxy-commits mailing list