Support linking with MinGW-built Perl.

Noah Misch <noah@leadboat.com>

Commit: 83e6b143440220e43b9437e3ce7e37b611852996
Author: Noah Misch <noah@leadboat.com>
Date: 2017-11-24T04:32:01Z
Releases: 9.3.21
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