This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Upgrade to Sys-Syslog-0.24
[perl5.git] / ext / Win32 / Makefile.PL
CommitLineData
34f7f30d 1use 5.006;
b4ad57f4
NC
2use ExtUtils::MakeMaker;
3
f9f7a334
JD
4unless ($^O eq "MSWin32" || $^O eq "cygwin") {
5 die "OS unsupported\n";
6}
7
753c3620
JD
8my @libs;
9push @libs, '-L/lib/w32api -lole32 -lversion' if $^O eq "cygwin";
10
b4ad57f4 11WriteMakefile(
34f7f30d
SH
12 NAME => 'Win32',
13 VERSION_FROM => 'Win32.pm',
14 LIBS => \@libs,
15 INSTALLDIRS => ($] >= 5.008004 ? 'perl' : 'site'),
b3eb56ab 16 NO_META => 1,
34f7f30d
SH
17
18 AUTHOR => 'Jan Dubois <jand@activestate.com>',
19 ABSTRACT_FROM => 'Win32.pm',
b4ad57f4 20);