Re: [PATCH] various RC1 nits
[p5sagit/p5-mst-13.2.git] / ext / Win32 / Makefile.PL
1 use 5.006;
2 use ExtUtils::MakeMaker;
3
4 unless ($^O eq "MSWin32" || $^O eq "cygwin") {
5     die "OS unsupported\n";
6 }
7
8 my @libs;
9 push @libs, '-L/lib/w32api -lole32 -lversion' if $^O eq "cygwin";
10
11 WriteMakefile(
12     NAME          => 'Win32',
13     VERSION_FROM  => 'Win32.pm',
14     LIBS          => \@libs,
15     INSTALLDIRS   => ($] >= 5.008004 ? 'perl' : 'site'),
16     NO_META       => 1,
17
18     AUTHOR        => 'Jan Dubois <jand@activestate.com>',
19     ABSTRACT_FROM => 'Win32.pm',
20 );