diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-09-12 22:28:38 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-09-12 22:28:38 +0100 |
commit | c3ef65fb933ae58fe727401c5b3d46f2cf8a1bda (patch) | |
tree | ba290727b665c454a8b41a95a139cd722f5c5ed9 /make_ext.pl | |
parent | 7d8fed6398d97e42f2986a11d11e90eec5abee46 (diff) | |
download | perl-c3ef65fb933ae58fe727401c5b3d46f2cf8a1bda.tar.gz |
Avoid using 'lib' in make_ext.pl.
This reduces ordering constraints in the build process.
Diffstat (limited to 'make_ext.pl')
-rw-r--r-- | make_ext.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/make_ext.pl b/make_ext.pl index 787254cb6a..e81ca51ac1 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" |