add libev-perl to contrib
@@ -146,6 +146,11 @@ when ($USE_PERL_SYSTEM == "yes") {
}
PERLSUFFIX=-csuffix .cpp
+PERLOUTPUT=${stdout;output:SRC.cpp}
+when ($PERLC == "yes") {
+ PERLSUFFIX=-csuffix .c
+ PERLOUTPUT=${stdout;output:SRC.c}
+}
XSUBPPFLAGS=
ARCH_TOOL=${tool:"tools/archiver"}
@@ -1976,7 +1981,7 @@ macro _SRC("sfdl", SRC, SRCFLAGS...) {
}
macro _SRC("xs", SRC, SRCFLAGS...) {
- .CMD=$PERL_LD_LIBRARY_PATH $PERL $PERL_INCLUDE ${suf=/ExtUtils/xsubpp:PERL_PRIVLIB} -typemap ${suf=/ExtUtils/typemap:PERL_PRIVLIB} $PERLSUFFIX $XSUBPPFLAGS ${SRCFLAGS} ${input:SRC} ${stdout;output:SRC.cpp} ${kv;hide:"p XS"} ${kv;hide:"pc yellow"}
+ .CMD=$PERL_LD_LIBRARY_PATH $PERL $PERL_INCLUDE ${suf=/ExtUtils/xsubpp:PERL_PRIVLIB} -typemap ${suf=/ExtUtils/typemap:PERL_PRIVLIB} $PERLSUFFIX $XSUBPPFLAGS ${SRCFLAGS} ${input:SRC} $PERLOUTPUT ${kv;hide:"p XS"} ${kv;hide:"pc yellow"}
}
macro _SRC("y", SRC, SRCFLAGS...) {
