Change 29481 by [EMAIL PROTECTED] on 2006/12/07 08:53:15

        Subject: [PATCH] Makefile.PL changes to compiler Win32.xs using cygwin
        From: Jan Dubois <[EMAIL PROTECTED]>
        Date: Wed, 06 Dec 2006 16:26:38 -0800
        Message-ID: <[EMAIL PROTECTED]>

Affected files ...

... //depot/perl/win32/ext/Win32/Makefile.PL#2 edit

Differences ...

==== //depot/perl/win32/ext/Win32/Makefile.PL#2 (text) ====
Index: perl/win32/ext/Win32/Makefile.PL
--- perl/win32/ext/Win32/Makefile.PL#1~22537~   2004-03-19 03:59:01.000000000 
-0800
+++ perl/win32/ext/Win32/Makefile.PL    2006-12-07 00:53:15.000000000 -0800
@@ -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         => [EMAIL PROTECTED],
 );
End of Patch.

Reply via email to