From: Nicholas Clark Date: Sat, 12 Sep 2009 21:28:38 +0000 (+0100) Subject: Avoid using 'lib' in make_ext.pl. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c3ef65fb933ae58fe727401c5b3d46f2cf8a1bda;p=p5sagit%2Fp5-mst-13.2.git Avoid using 'lib' in make_ext.pl. This reduces ordering constraints in the build process. --- 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"