mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
[svn-r6765] Purpose:
Bug Fix Description: If there was a header file with a path like: /some/path/mpich.optimized/... The dependencies script would change that to /some/path/mpich.loptimized/... ^--Note. Solution: Mike McKay offered the solution to replace the substitution script from "s/\.o/\.lo/g" to "s/\.o(\b)/\.lo$1/g". It doesn't crash when run on Linux, but we need to make sure that it's okay for his machine. Platforms tested: Linux, since this script is only run on GNU platforms. Misc. update:
This commit is contained in:
parent
7da63ba3c2
commit
ebb263afa6
@ -39,7 +39,7 @@ open(DEPEND, "<$depend_file") || die "cannot open file $depend_file: $!\n";
|
||||
open(NEW, ">$new_depend_file") || die "cannot open file $new_depend_file: $!\n";
|
||||
|
||||
while (<DEPEND>) {
|
||||
s/\.o/\.lo/g;
|
||||
s/\.o(\b)/\.lo$1/g;
|
||||
s/ $srcdir/ \$\(srcdir\)/g;
|
||||
s/ $top_srcdir/ \$\(top_srcdir\)/g;
|
||||
s/ $top_builddir/ \$\(top_builddir\)/g;
|
||||
|
Loading…
Reference in New Issue
Block a user