meson: Restore virtual support to install .pdb generated by GCC
We will not use it since GCC is still broken (59d0e828)
but it is always good to have a complete script.
This commit is contained in:
parent
0c49b92da9
commit
50627a445c
1 changed files with 4 additions and 0 deletions
|
|
@ -18,7 +18,11 @@ if os.getenv("MESON_BUILD_ROOT", False):
|
|||
build_installed = json.load(f)
|
||||
for build_bin, installed_bin in build_installed.items():
|
||||
if build_bin.endswith((".dll", ".exe")):
|
||||
#Clang generates the .pdb on binary build dir
|
||||
pdb_debug = os.path.splitext(build_bin)[0] + ".pdb"
|
||||
#GCC generates the .pdb on build root dir
|
||||
if not os.path.isfile(pdb_debug):
|
||||
pdb_debug = os.path.join(os.getenv("MESON_BUILD_ROOT"), os.path.splitext(os.path.basename(build_bin))[0] + ".pdb")
|
||||
install_dir = os.path.dirname(installed_bin)
|
||||
if os.path.isfile(pdb_debug):
|
||||
if not os.getenv("MESON_INSTALL_DRY_RUN"):
|
||||
|
|
|
|||
Loading…
Reference in a new issue