From f61462d5a2594a36d2e1822eb837033198461b8b Mon Sep 17 00:00:00 2001 From: "Craig A. Berry" Date: Fri, 2 Dec 2011 21:30:30 -0600 Subject: Add Term::ReadLine to write_buildcustomize.pl. If the build fails while building extensions, it's nice to have the debugger available to help figure out what went wrong. You couldn't do that before because lib/perl5db.pl depends on Term::ReadLine, which wouldn't be available since it hadn't been built yet. This commit makes Term::ReadLine available via the same mechanism that makes other libraries available to miniperl during the build. An alternative would be to remove the debugger's dependency on Term::ReadLine, but that would be more work and more risk for a situation that hopefully doesn't come up that often. --- write_buildcustomize.pl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'write_buildcustomize.pl') diff --git a/write_buildcustomize.pl b/write_buildcustomize.pl index ee3eea572d..3d773a5a31 100644 --- a/write_buildcustomize.pl +++ b/write_buildcustomize.pl @@ -16,6 +16,8 @@ require File::Spec::Functions; # needed to build the nonxs modules # After which, all nonxs modules are in lib, which was always sufficient to # allow miniperl to build everything else. +# Term::ReadLine is not here for building but for allowing the debugger to +# run under miniperl when nothing but miniperl will build :-(. my @toolchain = qw(cpan/AutoLoader/lib dist/Carp/lib @@ -26,6 +28,7 @@ my @toolchain = qw(cpan/AutoLoader/lib dist/ExtUtils-Manifest/lib cpan/File-Path/lib ext/re + dist/Term-ReadLine/lib ); # Used only in ExtUtils::Liblist::Kid::_win32_ext() -- cgit v1.2.1