Workaround modern Perls not adding . to @INC.

This commit is contained in:
Peter Powell 2016-11-08 08:15:25 +00:00
parent 0afc0e9a71
commit 63a00a858c
2 changed files with 2 additions and 0 deletions

1
configure vendored
View File

@ -28,6 +28,7 @@
BEGIN { BEGIN {
require 5.8.0; require 5.8.0;
push @INC, '.';
} }
use strict; use strict;

View File

@ -25,6 +25,7 @@ use warnings FATAL => qw(all);
use make::configure; use make::configure;
BEGIN { BEGIN {
push @INC, '.';
unless (module_installed("LWP::Simple")) { unless (module_installed("LWP::Simple")) {
die "Your system is missing the LWP::Simple Perl module!"; die "Your system is missing the LWP::Simple Perl module!";
} }