Cleanup dll.base and dll.exp created by GCC builds.
Nick Ing-Simmons [Fri, 1 Jun 2001 10:13:31 +0000 (10:13 +0000)]
p4raw-id: //depot/perlio@10364

lib/ExtUtils/MM_Win32.pm

index 709be20..a75ec0d 100644 (file)
@@ -532,6 +532,22 @@ $(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $(BOOTSTRAP) $(INST_ARCHAUTODIR)\.exists
     join('',@m);
 }
 
+sub clean
+{
+ my ($self) = @_;
+ my $s = &ExtUtils::MM_Unix::clean;
+ if ($GCC) {
+       $s .= <<'END';
+clean ::
+       -$(RM_F) dll.base dll.exp
+
+END
+ }
+ return $s;
+}
+
+
+
 sub perl_archive
 {
     my ($self) = @_;