summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinfrastructure/makebuildenv.pl.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/infrastructure/makebuildenv.pl.in b/infrastructure/makebuildenv.pl.in
index 93115514..db081dd4 100755
--- a/infrastructure/makebuildenv.pl.in
+++ b/infrastructure/makebuildenv.pl.in
@@ -346,7 +346,8 @@ for my $mod (@modules, @implicit_deps)
for(grep /\.h\Z/i, @items)
{
next if /\A\._/; # Temp Mac OS Resource hack
- die "Header file $_ already used in module ".$hfiles{$_}."\n" if exists $hfiles{$_};
+ die "Header file $_ already used in module ".$hfiles{$_}.
+ ", cannot add to $mod\n" if exists $hfiles{$_};
$hfiles{$_} = $mod
}
}