Update of /cvsroot/perl-win32-gui/Win32-GUI/Win32-GUI-AxWindow
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12378/Win32-GUI-AxWindow

Modified Files:
        Makefile.PL 
Log Message:
Fix cygwin and mingw builds

Index: Makefile.PL
===================================================================
RCS file: /cvsroot/perl-win32-gui/Win32-GUI/Win32-GUI-AxWindow/Makefile.PL,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Makefile.PL 11 Jun 2006 15:46:51 -0000      1.2
--- Makefile.PL 11 Jun 2006 21:00:15 -0000      1.3
***************
*** 1,5 ****
  #!perl -w
  use strict;
! use warnings;
  
  # Makefile.PL for Win32::GUI::AxWindow
--- 1,5 ----
  #!perl -w
  use strict;
! #use warnings;
  
  # Makefile.PL for Win32::GUI::AxWindow
***************
*** 56,59 ****
--- 56,65 ----
  package MY;
  
+ sub special_targets {
+     my $inherited = shift->SUPER::special_targets(@_);
+     $inherited =~ s/^(.SUFFIXES.*)$/$1 .rc .res/m;
+     return $inherited;
+ }
+ 
  sub xs_c {
    my $inherited = shift->SUPER::xs_c(@_);


Reply via email to