From: Jan Dubois Date: Wed, 6 Dec 2006 16:26:38 +0000 (-0800) Subject: Makefile.PL changes to compiler Win32.xs using cygwin X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=753c3620c0b8f667209c768cc917ce9dde3b23ce;p=p5sagit%2Fp5-mst-13.2.git Makefile.PL changes to compiler Win32.xs using cygwin Message-ID: <5nnen2p2h4lhremj0qf1tmpkl0asvk87hr@4ax.com> p4raw-id: //depot/perl@29481 --- diff --git a/win32/ext/Win32/Makefile.PL b/win32/ext/Win32/Makefile.PL index c167ab3..b6f5744 100644 --- a/win32/ext/Win32/Makefile.PL +++ b/win32/ext/Win32/Makefile.PL @@ -1,6 +1,10 @@ use ExtUtils::MakeMaker; +my @libs; +push @libs, '-L/lib/w32api -lole32 -lversion' if $^O eq "cygwin"; + WriteMakefile( - NAME => 'Win32', - VERSION_FROM => 'Win32.pm', + NAME => 'Win32', + VERSION_FROM => 'Win32.pm', + LIBS => \@libs, );