summaryrefslogtreecommitdiff
path: root/make_ext.pl
diff options
context:
space:
mode:
Diffstat (limited to 'make_ext.pl')
-rw-r--r--make_ext.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/make_ext.pl b/make_ext.pl
index c6c6378087..6779b440fb 100644
--- a/make_ext.pl
+++ b/make_ext.pl
@@ -3,7 +3,7 @@ use strict;
use warnings;
use Config;
BEGIN {
- unshift @INC, $^O eq 'MSWin32' ? '../ext/Cwd' : 'ext/Cwd';
+ unshift @INC, $^O eq 'MSWin32' ? '../cpan/Cwd' : 'cpan/Cwd';
}
use Cwd;
@@ -14,7 +14,8 @@ use Cwd;
# After which, all nonxs modules are in lib, which was always sufficient to
# allow miniperl to build everything else.
-my @toolchain = qw(ext/constant/lib ext/Cwd ext/Cwd/lib ext/ExtUtils-Command/lib
+my @toolchain = qw(ext/constant/lib cpan/Cwd cpan/Cwd/lib
+ ext/ExtUtils-Command/lib
ext/ExtUtils-Install/lib ext/ExtUtils-MakeMaker/lib
ext/ExtUtils-Manifest/lib ext/Text-ParseWords/lib
cpan/File-Path/lib cpan/AutoLoader/lib);