From 69eaaa17ba99ea03b37942b72ff86b6794315cf0 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Mon, 1 Dec 2014 12:12:09 -0600 Subject: [PATCH] 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... --- src/cap5/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cap5/Makefile b/src/cap5/Makefile index e015ff825..7f23bdb67 100644 --- a/src/cap5/Makefile +++ b/src/cap5/Makefile @@ -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) $@