Re: [PATCH lib/ExtUtils.t] Extra Files for QNX
authorNorton T. Allen <allen@huarp.harvard.edu>
Thu, 5 Jul 2001 09:57:14 +0000 (05:57 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 5 Jul 2001 13:26:00 +0000 (13:26 +0000)
Message-Id: <200107051357.JAA06285@bottesini.harvard.edu>

p4raw-id: //depot/perl@11161

lib/ExtUtils/MM_Unix.pm

index 436c397..0254818 100644 (file)
@@ -464,6 +464,13 @@ EOT
     }
 
     my(@otherfiles) = values %{$self->{XS}}; # .c files from *.xs files
+    if ( $^O eq 'qnx' ) {
+      my @errfiles = @{$self->{C}};
+      for ( @errfiles ) {
+       s/.c$/.err/;
+      }
+      push( @otherfiles, @errfiles, 'perlmain.err' );
+    }
     push(@otherfiles, $attribs{FILES}) if $attribs{FILES};
     push(@otherfiles, qw[./blib $(MAKE_APERL_FILE) $(INST_ARCHAUTODIR)/extralibs.all
                         perlmain.c tmon.out mon.out core core.*perl.*.?