From 9afc198b1f7ba77013e0892ee06251c347ccb45a Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Fri, 25 Sep 2009 17:41:41 +0100 Subject: Process the extension directories in alphabetical order. --- make_ext.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'make_ext.pl') 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; -- cgit v1.2.1