This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Ensure wildcard expansion is enabled for perlglob.exe on Windows
authorSteve Hay <steve.m.hay@googlemail.com>
Thu, 12 Jul 2012 17:07:17 +0000 (18:07 +0100)
committerSteve Hay <steve.m.hay@googlemail.com>
Thu, 12 Jul 2012 17:07:17 +0000 (18:07 +0100)
commit8f55039992b2378df3dcb99bb2ec67d80b7c8854
treed440bf20ae42edb8f5d51d27837fcfe1520a1269
parent20da2e5b86ba0d7b84f7fde98446cf2287b33741
Ensure wildcard expansion is enabled for perlglob.exe on Windows

This is provided by linking in setargv.obj for Visual C++, which the
makefiles already do, but for MinGW(-w64)/gcc we must explicitly ensure
that wildcard expansion is enabled rather than relying on the C-runtime
defaults of the particular compiler suite in question.

This currently only seems to be necessary for the automated build of the
MinGW-w64 cross-compiler (other builds have it enabled by default anyway),
but there's no harm in making sure for others too.
win32/perlglob.c