summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ExtUtils/MM_Win95.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ExtUtils/MM_Win95.pm b/lib/ExtUtils/MM_Win95.pm
index 549e1d78ac..68c2ac8588 100644
--- a/lib/ExtUtils/MM_Win95.pm
+++ b/lib/ExtUtils/MM_Win95.pm
@@ -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