This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
embed.fnc: Make some functions not flagged as 'A'
[perl5.git] / cpan / Win32 / Makefile.PL
1 use 5.006;
2 use strict;
3 use warnings;
4 use ExtUtils::MakeMaker;
5
6 unless ($^O eq "MSWin32" || $^O eq "cygwin") {
7     die "OS unsupported\n";
8 }
9
10 my %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
18 WriteMakefile(%param);