From: Norton T. Allen Date: Thu, 5 Jul 2001 09:57:14 +0000 (-0400) Subject: Re: [PATCH lib/ExtUtils.t] Extra Files for QNX X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2bfcb3f233f690ed68e611a8b58c804cef5e7ac4;p=p5sagit%2Fp5-mst-13.2.git Re: [PATCH lib/ExtUtils.t] Extra Files for QNX Message-Id: <200107051357.JAA06285@bottesini.harvard.edu> p4raw-id: //depot/perl@11161 --- diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm index 436c397..0254818 100644 --- a/lib/ExtUtils/MM_Unix.pm +++ b/lib/ExtUtils/MM_Unix.pm @@ -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.*.?