Support linking with MinGW-built Perl.
authorNoah Misch
Fri, 24 Nov 2017 04:22:04 +0000 (20:22 -0800)
committerNoah Misch
Fri, 24 Nov 2017 04:25:08 +0000 (20:25 -0800)
commitda8eae56eb4eee9515d6ada512a3ec7bb57c9ffb
tree25fd4dc5ffb2131cdd00efb4dd6d49e88a23b72f
parentc703aa6258997d22ca7338bc221c31ff83feefb7
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
config/perl.m4
configure
src/pl/plperl/plperl.h
src/tools/msvc/Mkvcbuild.pm