Thread: pgsql: Support linking with MinGW-built Perl.

pgsql: Support linking with MinGW-built Perl.

From
Noah Misch
Date:
Support linking with MinGW-built Perl.

This is necessary for ActivePerl 5.18 onwards and for Strawberry Perl.
It is not sufficient for 32-bit builds with newer Visual Studio; these
fail with error LINK2026.  Back-patch to 9.3 (all supported versions).

Reported by Victor Wagner.

Discussion: https://postgr.es/m/20160326154321.7754ab8f@wagner.wagner.home

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/84c4313c6f6a3f67ccc2296e5a7674dee1979e7a

Modified Files
--------------
config/perl.m4              | 17 ++++++++++++-----
configure                   | 17 ++++++++++++-----
src/pl/plperl/plperl.h      |  8 ++++++++
src/tools/msvc/Mkvcbuild.pm |  5 +++--
4 files changed, 35 insertions(+), 12 deletions(-)