summaryrefslogtreecommitdiff
path: root/make_ext.pl
diff options
context:
space:
mode:
Diffstat (limited to 'make_ext.pl')
-rw-r--r--make_ext.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/make_ext.pl b/make_ext.pl
index 0fe892f7f9..e606c36604 100644
--- a/make_ext.pl
+++ b/make_ext.pl
@@ -116,7 +116,7 @@ foreach (@extspec) {
my $makecmd = shift @pass_through; # Should be something like MAKE=make
unshift @pass_through, 'PERL_CORE=1';
-my @dirs = $opts{dir} || ['ext', 'cpan'];
+my @dirs = @{$opts{dir} || ['ext', 'cpan']};
my $target = $opts{target}[0];
$target = 'all' unless defined $target;