summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>2001-06-26 13:27:07 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-26 21:31:51 +0000
commit34a3ce8be66703b43731841f5db7ff1a92e04dbd (patch)
treecdd0374e522615b39b6b90a93b4567bd075f2efe /lib
parentf07bc2fb9a3bcfebd595f61258c07dfe26c8ce02 (diff)
downloadperl-34a3ce8be66703b43731841f5db7ff1a92e04dbd.tar.gz
xsubpp flags from the command line
Message-ID: <20010626172707.A27097@math.ohio-state.edu> p4raw-id: //depot/perl@10974
Diffstat (limited to 'lib')
-rw-r--r--lib/ExtUtils/MM_Unix.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm
index a9e7ad48f2..99fbef0cb4 100644
--- a/lib/ExtUtils/MM_Unix.pm
+++ b/lib/ExtUtils/MM_Unix.pm
@@ -3612,6 +3612,7 @@ XSUBPP = \$(XSUBPPDIR)/$xsubpp
XSPROTOARG = $self->{XSPROTOARG}
XSUBPPDEPS = @tmdeps \$(XSUBPP)
XSUBPPARGS = @tmargs
+XSUBPP_EXTRA_ARGS =
};
};
@@ -3790,7 +3791,7 @@ sub xs_c {
return '' unless $self->needs_linking();
'
.xs.c:
- $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $*.xs > $*.xsc && $(MV) $*.xsc $*.c
+ $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $(XSUBPP_EXTRA_ARGS) $*.xs > $*.xsc && $(MV) $*.xsc $*.c
';
}