Support linking with MinGW-built Perl.
authorNoah Misch <noah@leadboat.com>
Fri, 24 Nov 2017 04:22:04 +0000 (20:22 -0800)
committerNoah Misch <noah@leadboat.com>
Fri, 24 Nov 2017 04:22:24 +0000 (20:22 -0800)
commitf16a0958d0ebebf9b4c3fc2272c3e1aa4ae3a1d2
tree6a5e568a1727ccc7c5714e3b52cf3f71ea7a308d
parentc60b898453f9b4d7de94c8e88bf08e930d117958
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