]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix MSVC scripts when building with GSSAPI/Kerberos
authorMichael Paquier <michael@paquier.xyz>
Thu, 27 May 2021 11:11:24 +0000 (20:11 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 27 May 2021 11:11:24 +0000 (20:11 +0900)
commita75268f1cbfbae0525eec7462b6aa36852894d6d
treee3851689c681ea2d3199c3aeea3448401557da1c
parent99d6dd3b4d94d9d4b8036e733ca5fbd4f95b31fd
Fix MSVC scripts when building with GSSAPI/Kerberos

The deliverables of upstream Kerberos on Windows are installed with
paths that do not match our MSVC scripts.  First, the include folder was
named "inc/" in our scripts, but the upstream MSIs use "include/".
Second, the build would fail with 64-bit environments as the libraries
are named differently.

This commit adjusts the MSVC scripts to be compatible with the latest
installations of upstream, and I have checked that the compilation was
able to work with the 32-bit and 64-bit installations.

Special thanks to Kondo Yuta for the help in investigating the situation
in hamerkop, which had an incorrect configuration for the GSS
compilation.

Reported-by: Brian Ye
Discussion: https://postgr.es/m/162128202219.27274.12616756784952017465@wrigleys.postgresql.org
Backpatch-through: 9.6
src/tools/msvc/Solution.pm