Subject: | Makefile.PL does not recognize StrawberryPerl's new MinGW compiler |
Since the April 2010 release, StrawberryPerl switched to using a new
build mechanism. Now if I try to install Net::DNS on the new Strawberry,
it does not recognize the C compiler and offers to build as PurePerl
instead.
The trick is here in the Makefile.PL of Net::DNS:
Change line 2 from:
#if defined(_MSC_VER) || defined(__MINGW32_VERSION)
to
#if defined(_MSC_VER) || defined(__MINGW32__)
StrawberryPerl's resident C guru, kmx, says that this change will not
break backwards compatibility for older MinGW compilers.
If you could adjust the Makefile.PL, that'd be brilliant!
Thanks,
Mike.