mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0: prefer symbols read from the bin to those matching the naming scheme
This commit is contained in:
commit
5c793bf2ac
1 changed files with 4 additions and 1 deletions
|
@ -655,7 +655,6 @@ function copy_dep_pdb_into_build_dir(libpath)
|
|||
var names = [];
|
||||
|
||||
var libname = FSO.GetFileName(libpath);
|
||||
names.push(libname.replace(new RegExp("\\.lib$"), ".pdb"));
|
||||
|
||||
/* Within same .lib, everything should be bound to the same .pdb. No check
|
||||
for every single object in the static libs. */
|
||||
|
@ -677,6 +676,10 @@ function copy_dep_pdb_into_build_dir(libpath)
|
|||
}
|
||||
}
|
||||
|
||||
/* This is rather a fallback, if the bin has no debug section or
|
||||
something went wrong with parsing. */
|
||||
names.push(libname.replace(new RegExp("\\.lib$"), ".pdb"));
|
||||
|
||||
for (var k = 0; k < names.length; k++) {
|
||||
var pdbname = names[k];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue