Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Slightly more precise test to see if running swig can be skipped. Cha…

…nge from Jerry G Geiger.
  • Loading branch information...
commit 981c1bc1fa5dfd2f64226ee02a83f92b713041e3 1 parent 7bbe2cb
R. Bernstein authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  Build.PL
3  Build.PL
View
@@ -74,7 +74,8 @@ my $class = Module::Build->subclass( class => 'MyModuleBuild',
my $basename = basename($file, '.swg');
my $cfile = $basename."_wrap.c";
my $pmfile = File::Spec->catfile($lib,"$basename.pm");
- if($self->up_to_date($swigdeps->{$file}, $cfile)) {
+ if ($self->up_to_date($swigdeps->{$file}, $cfile) &&
+ $self->up_to_date($swigdeps->{$file}, $pmfile)) {
next if $self->up_to_date($file, $cfile) &&
$self->up_to_date($cfile, $pmfile);
}
Please sign in to comment.
Something went wrong with that request. Please try again.