Support linking with MinGW-built Perl.

Noah Misch <noah@leadboat.com>

Commit: 558f6207928b7586d0ea342c4ec05744e10f9c2a
Author: Noah Misch <noah@leadboat.com>
Date: 2017-11-24T04:29:48Z
Releases: 9.4.16
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

Files

PathChange+/−
config/perl.m4 modified +12 −5
configure modified +12 −5
src/pl/plperl/plperl.h modified +8 −0
src/tools/msvc/Mkvcbuild.pm modified +3 −2

Discussion