slic3r/slic3r-buildpl.patch

16 lines
564 B
Diff
Raw Permalink Normal View History

2013-11-24 16:32:54 +00:00
diff --git a/Build.PL b/Build.PL
2014-06-29 16:18:33 +00:00
index 5c650ce..09febb4 100644
2013-11-24 16:32:54 +00:00
--- a/Build.PL
+++ b/Build.PL
2014-05-03 18:37:01 +00:00
@@ -146,7 +146,9 @@ if (@missing_prereqs) {
2013-11-24 16:32:54 +00:00
exit 1;
} elsif (!$gui) {
eval "use App::Prove; 1" or die "Failed to load App::Prove";
- my $res = App::Prove->new->run ? 0 : 1;
+ my $app = App::Prove->new;
+ $app->process_args('-Ixs/blib/lib','-Ixs/blib/arch');
+ my $res = $app->run ? 0 : 1;
if ($res == 0) {
print "If you also want to use the GUI you can now run `perl Build.PL --gui` to install the required modules.\n";
} else {