tinymux/win32
Stephen Dennis b05539f86a fix(#2212): PCRE2 comes from vcpkg, like grpc
The Windows build took PCRE2 from a hand-built out-of-tree directory
reached through $(Pcre2Dir).  engine.vcxproj honoured that property for
its headers but hardcoded ..\..\src\pcre2\{Release,Debug} for its
libraries, so -p:Pcre2Dir= applied to one half and not the other and the
link failed with LNK1104 in any tree where PCRE2 was not at the default.

Declare pcre2 in mux/vcpkg.json instead, alongside grpc and
nlohmann-json, and point netmux, libmux and engine at $(VcpkgDir).  All
three now read include and library paths from the same place.  Note
vcpkg's layout is lib/ for release and debug/lib/ for debug, not
Release/ and Debug/.

PCRE2's JIT is required -- funceval2.cpp calls pcre2_jit_compile -- and
comes automatically: the port's platform-default-features pulls in jit
everywhere except emscripten and iOS.

Ship mux/vcpkg.json in both source TOCs.  It was in neither, so the
source distribution carried no statement of its own dependencies; with
PCRE2 moving to vcpkg, the file that declares it has to travel with the
source or an unpacking reader is worse off than before.

Unix is unaffected -- configure finds system PCRE2 via pkg-config.

Verified on hatsuhara: Release and Debug both build clean with no
hand-built PCRE2 present anywhere on the box.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-10 20:39:31 -06:00
..
TOC.bin.patchable fix(win32): no module could load under muxscript, for two reasons (#1594) 2026-07-27 18:46:23 -06:00
TOC.bin.removed fix(win32): no module could load under muxscript, for two reasons (#1594) 2026-07-27 18:46:23 -06:00
TOC.bin.unpatched -- Add muxssl.conf to the distribution. 2007-05-10 00:24:56 -07:00
TOC.src.patchable fix(#2212): PCRE2 comes from vcpkg, like grpc 2026-08-10 20:39:31 -06:00
TOC.src.removed build(release): drop four inherited orphans from the win32 source list 2026-08-02 21:22:38 -06:00
TOC.src.unpatched -- Add muxssl.conf to the distribution. 2007-05-10 00:24:56 -07:00