Support linking with MinGW-built Perl.

Noah Misch <noah@leadboat.com>

Commit: da8eae56eb4eee9515d6ada512a3ec7bb57c9ffb
Author: Noah Misch <noah@leadboat.com>
Date: 2017-11-24T04:25:08Z
Releases: 9.5.11
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