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
1 use ExtUtils::MakeMaker;
2
3 my @libs;
4 push @libs, '-L/lib/w32api -lole32 -lversion' if $^O eq "cygwin";
5
6 WriteMakefile(
7     NAME         => 'Win32',
8     VERSION_FROM => 'Win32.pm',
9     LIBS         => \@libs,
10 );