diff options
Diffstat (limited to 'Configure.pl')
-rw-r--r-- | Configure.pl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Configure.pl b/Configure.pl index e8010f2..82227ff 100644 --- a/Configure.pl +++ b/Configure.pl @@ -267,9 +267,11 @@ MAIN: { unless ($options{'no-clean'}) { no warnings; print "Cleaning up ...\n"; - if (open my $CLEAN, '-|', "$make configclean") { - my @slurp = <$CLEAN>; - close($CLEAN); + for my $p ('', map { "-$_" } @prefixes) { + if (open my $CLEAN, '-|', "$make configclean$p") { + my @slurp = <$CLEAN>; + close($CLEAN); + } } } |