https://bugs.openldap.org/show_bug.cgi?id=10573
--- Comment #2 from OpenLDAP MSVC Reporter openldap-msvc-patch-0c5de43a5b6c@emalupe.com --- Created attachment 1193 --> https://bugs.openldap.org/attachment.cgi?id=1193&action=edit Make symbol map preprocessing portable
Attached a minimal patch that renames the two preprocessor templates to C-recognized filenames and writes preprocessor output through stdout, avoiding compiler-specific language and output options.
Tested with GCC 12.2 on Debian: both version maps were generated, both shared libraries linked, and OPENLDAP_2.200 was present in each library's version metadata.
Also tested with MSVC 14.51 on Windows for x86 and x64: both builds, installation checks, and generated artifacts completed successfully.