Fix xsubpp for RHEL 7 and derivatives.

It got moved. This might not be the final fix for those using an
add-on version of Perl though...
This commit is contained in:
Andrew Johnson
2014-12-01 12:12:09 -06:00
parent 89777707c4
commit 69eaaa17ba

View File

@@ -53,10 +53,11 @@ include $(TOP)/configure/RULES
ifdef T_A
EXTUTILS = $(shell $(PERL) ../perlConfig.pl privlib)/ExtUtils
XSUBPP = $(firstword $(wildcard /usr/bin/xsubpp $(EXTUTILS)/xsubpp))
%.c: ../%.xs
$(RM) $@ $@_new
$(PERL) $(EXTUTILS)/xsubpp -typemap $(EXTUTILS)/typemap $< > $@_new && $(MV) $@_new $@
$(PERL) $(XSUBPP) -typemap $(EXTUTILS)/typemap $< > $@_new && $(MV) $@_new $@
%.html: ../%.pm
$(RM) $@