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
------
REL9_5_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/da8eae56eb4eee9515d6ada512a3ec7bb57c9ffb
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(-)