This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Makefile.PL changes to compiler Win32.xs using cygwin
[perl5.git] / win32 / ext / Win32 / Makefile.PL
CommitLineData
b4ad57f4
NC
1use ExtUtils::MakeMaker;
2
753c3620
JD
3my @libs;
4push @libs, '-L/lib/w32api -lole32 -lversion' if $^O eq "cygwin";
5
b4ad57f4 6WriteMakefile(
753c3620
JD
7 NAME => 'Win32',
8 VERSION_FROM => 'Win32.pm',
9 LIBS => \@libs,
b4ad57f4 10);