diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-09-25 17:41:41 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-09-25 17:41:41 +0100 |
commit | 9afc198b1f7ba77013e0892ee06251c347ccb45a (patch) | |
tree | c1ee033c941a790d1e568651ae7bbcb732deee15 /make_ext.pl | |
parent | 934eeda78c43647e2f0352ee915ad5402fb4a599 (diff) | |
download | perl-9afc198b1f7ba77013e0892ee06251c347ccb45a.tar.gz |
Process the extension directories in alphabetical order.
Diffstat (limited to 'make_ext.pl')
-rw-r--r-- | make_ext.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/make_ext.pl b/make_ext.pl index bcddb90659..cfb3cd7b59 100644 --- a/make_ext.pl +++ b/make_ext.pl @@ -19,7 +19,7 @@ my @toolchain = qw(ext/constant/lib ext/Cwd ext/Cwd/lib ext/ExtUtils-Command/lib ext/ExtUtils-Manifest/lib ext/Text-ParseWords/lib ext/File-Path/lib ext/AutoLoader/lib); -my @ext_dirs = qw(ext cpan); +my @ext_dirs = qw(cpan ext); my $ext_dirs_re = '(?:' . join('|', @ext_dirs) . ')'; # This script acts as a simple interface for building extensions. @@ -117,7 +117,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_dirs}; my $target = $opts{target}[0]; $target = 'all' unless defined $target; |