diff options
author | Mattia Barbon <mbarbon@dsi.unive.it> | 2002-07-10 20:47:45 +0200 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-07-10 20:19:55 +0000 |
commit | 415c47386cbaaeba799eb4450916189f62200e8b (patch) | |
tree | 4abc951ea44b587df8bc4638b041ac2cc3cd39ee /lib | |
parent | 187adabcc001fc2b96cbaf1e09ca7733b0582888 (diff) | |
download | perl-415c47386cbaaeba799eb4450916189f62200e8b.tar.gz |
MM_W95.pm, Win95 + MinGW + dmake
From: "Mattia Barbon" <mbarbon@dsi.unive.it>
Message-ID: <3D2C8151.30381.12DE80@localhost>
p4raw-id: //depot/perl@17469
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ExtUtils/MM_Win95.pm | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/ExtUtils/MM_Win95.pm b/lib/ExtUtils/MM_Win95.pm index a6eddaeb39..010900f5c3 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) \\ |