In perl.git, the branch smoke-me/make_ext has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/408153a6ff2442dda175bf94e03040f1f15ad9f9?hp=642ef7c1b91288be96b948fea0661bf371c74551>

- Log -----------------------------------------------------------------
commit 408153a6ff2442dda175bf94e03040f1f15ad9f9
Author: Nicholas Clark <[email protected]>
Date:   Fri Apr 27 12:05:38 2012 +0200

    make_ext.pl need not manipulate @INC, as buildcustomize.pl already does it.
    
    Remove from make_ext.pl code that predates the introduction of
    buildcustomize.pl, as that now sets up @INC correctly before make_ext.pl 
even
    runs. During the build process make_ext.pl is only run by miniperl.
-----------------------------------------------------------------------

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

diff --git a/make_ext.pl b/make_ext.pl
index d6561b1..5352ed9 100644
--- a/make_ext.pl
+++ b/make_ext.pl
@@ -2,14 +2,6 @@
 use strict;
 use warnings;
 use Config;
-BEGIN {
-    if ($^O eq 'MSWin32') {
-       unshift @INC, '../dist/Cwd';
-       require FindExt;
-    } else {
-       unshift @INC, 'dist/Cwd';
-    }
-}
 use Cwd;
 
 my $is_Win32 = $^O eq 'MSWin32';

--
Perl5 Master Repository

Reply via email to