From: Mattia Barbon Date: Wed, 10 Jul 2002 18:47:45 +0000 (+0200) Subject: MM_W95.pm, Win95 + MinGW + dmake X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=415c47386cbaaeba799eb4450916189f62200e8b;hp=187adabcc001fc2b96cbaf1e09ca7733b0582888;p=p5sagit%2Fp5-mst-13.2.git MM_W95.pm, Win95 + MinGW + dmake From: "Mattia Barbon" Message-ID: <3D2C8151.30381.12DE80@localhost> p4raw-id: //depot/perl@17469 --- diff --git a/lib/ExtUtils/MM_Win95.pm b/lib/ExtUtils/MM_Win95.pm index a6eddae..010900f 100644 --- a/lib/ExtUtils/MM_Win95.pm +++ b/lib/ExtUtils/MM_Win95.pm @@ -5,7 +5,7 @@ $VERSION = 0.02; require ExtUtils::MM_Win32; @ISA = qw(ExtUtils::MM_Win32); - +use Config; =head1 NAME @@ -26,11 +26,11 @@ sub dist_test { my($self) = shift; return q{ disttest : distdir - cd $(DISTVNAME) - $(ABSPERLRUN) Makefile.PL - $(MAKE) $(PASTHRU) - $(MAKE) test $(PASTHRU) - cd .. + cd $(DISTVNAME) + $(ABSPERLRUN) Makefile.PL + $(MAKE) $(PASTHRU) + $(MAKE) test $(PASTHRU) + cd .. }; } @@ -58,6 +58,8 @@ sub xs_cpp { 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 $Config{make} eq 'dmake'; ' .xs$(OBJ_EXT): $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(XSUBPP) \\