This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: 5.8.1 and gcc-3.2.3 (& Win98)
authorGreg Matheson <lang@ms.chinmin.edu.tw>
Wed, 24 Sep 2003 22:51:09 +0000 (06:51 +0800)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 25 Sep 2003 05:22:48 +0000 (05:22 +0000)
Message-ID: <20030924225109.A17126@ms>

(Win98 + MinGW, a missing Win95.pm hunk)

p4raw-id: //depot/perl@21369

lib/ExtUtils/MM_Win95.pm

index 549e1d7..68c2ac8 100644 (file)
@@ -125,6 +125,8 @@ The && problem.
 sub xs_o {
     my($self) = shift;
     return '' unless $self->needs_linking();
+    # Having to choose between .xs -> .c -> .o and .xs -> .o confuses dmake.
+    return '' if $DMAKE;
     '
 .xs$(OBJ_EXT):
        $(PERLRUN) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $*.xs > $*.c