Update of /cvsroot/perl-win32-gui/Win32-GUI/Win32-GUI-DIBitmap In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12378/Win32-GUI-DIBitmap
Modified Files: Makefile.PL Log Message: Fix cygwin and mingw builds Index: Makefile.PL =================================================================== RCS file: /cvsroot/perl-win32-gui/Win32-GUI/Win32-GUI-DIBitmap/Makefile.PL,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile.PL 11 Jun 2006 16:34:33 -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::DIBitmap --- 1,5 ---- #!perl -w use strict; ! #use warnings; # Makefile.PL for Win32::GUI::DIBitmap *************** *** 43,51 **** } ! # Can't build with MinGW (yet). ! if($Config{cc} =~ /gcc/i and $^O !~ /cygwin/i ) { print <<__EXPLAIN; ! At this time Win32::GUI::DIBitmap cannot be build using MinGW. Win32::GUI::DIBitmap will be skipped during the current build process. --- 43,51 ---- } ! # Can't build with gcc (yet). ! if($Config{cc} =~ /gcc/i ) { print <<__EXPLAIN; ! At this time Win32::GUI::DIBitmap cannot be build using gcc. Win32::GUI::DIBitmap will be skipped during the current build process. *************** *** 59,62 **** --- 59,68 ---- package MY; + sub special_targets { + my $inherited = shift->SUPER::special_targets(@_); + $inherited =~ s/^(.SUFFIXES.*)$/$1 .rc .res/m; + return $inherited; + } + # Add rule for .rc to .res conversion # Add rules to install demo scripts