summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/B/Makefile.PL14
1 files changed, 8 insertions, 6 deletions
diff --git a/ext/B/Makefile.PL b/ext/B/Makefile.PL
index 4bf226de4f..8da9c0afbf 100644
--- a/ext/B/Makefile.PL
+++ b/ext/B/Makefile.PL
@@ -35,12 +35,14 @@ sub upupfile {
File::Spec->updir, $_[0]);
}
-sub postamble {
- my $op_h = upupfile('op.h');
- my $cop_h = upupfile('cop.h');
+sub MY::postamble {
+ my $op_h = upupfile('op.h');
+ my $cop_h = upupfile('cop.h');
+ my $noecho = shift->{NOECHO};
"
-B\$(OBJ_EXT) : defsubs.h
+B\$(OBJ_EXT) : defsubs.h
-defsubs.h :: $op_h $cop_h
-"
+defsubs.h :: $op_h $cop_h
+ $noecho \$(NOOP)
+"
}