2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 18:07:12 +01:00

Fix pdb installation in cs tool.

This commit is contained in:
Seth Hinze 2017-05-31 14:17:08 -07:00 committed by Thomas Nagy
parent 377d09831b
commit a3b6d7dcac

View File

@ -103,10 +103,10 @@ def debug_cs(self):
else:
out = node.change_ext('.pdb')
self.cs_task.outputs.append(out)
try:
self.install_task.source.append(out)
except AttributeError:
pass
if getattr(self, 'install_task', None):
self.pdb_install_task = self.add_install_files(
install_to=self.install_task.install_to, install_from=out)
if csdebug == 'pdbonly':
val = ['/debug+', '/debug:pdbonly']