This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update Pod-Simple to CPAN version 3.29
[perl5.git] / cpan / Win32 / Makefile.PL
CommitLineData
c3c06741
JD
1use 5.006;
2use strict;
3use warnings;
4use ExtUtils::MakeMaker;
5
6unless ($^O eq "MSWin32" || $^O eq "cygwin") {
7 die "OS unsupported\n";
8}
9
10my %param = (
11 NAME => 'Win32',
12 VERSION_FROM => 'Win32.pm',
13 INSTALLDIRS => ($] >= 5.008004 && $] < 5.012 ? 'perl' : 'site'),
14);
15$param{NO_META} = 1 if eval "$ExtUtils::MakeMaker::VERSION" >= 6.10_03;
16$param{LIBS} = ['-L/lib/w32api -lole32 -lversion'] if $^O eq "cygwin";
17
18WriteMakefile(%param);