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