In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/c3ef65fb933ae58fe727401c5b3d46f2cf8a1bda?hp=7d8fed6398d97e42f2986a11d11e90eec5abee46>

- Log -----------------------------------------------------------------
commit c3ef65fb933ae58fe727401c5b3d46f2cf8a1bda
Author: Nicholas Clark <[email protected]>
Date:   Sat Sep 12 22:28:38 2009 +0100

    Avoid using 'lib' in make_ext.pl.
    
    This reduces ordering constraints in the build process.
-----------------------------------------------------------------------

Summary of changes:
 make_ext.pl |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/make_ext.pl b/make_ext.pl
index 787254c..e81ca51 100644
--- a/make_ext.pl
+++ b/make_ext.pl
@@ -2,7 +2,9 @@
 use strict;
 use warnings;
 use Config;
-use lib 'ext/Cwd';
+BEGIN {
+    unshift @INC, 'ext/Cwd';
+}
 use Cwd;
 
 # To clarify, this isn't the entire suite of modules considered "toolchain"

--
Perl5 Master Repository

Reply via email to