Also copy .pdb files for debug builds

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2011-10-04 21:38:44 +00:00
parent 6de264a783
commit ccce9f71f0

View File

@@ -543,6 +543,8 @@ def build_py(options, args):
# debug files unless --debug is given.
ver = version3_nodot if unstable_series else version2_nodot
dlls = glob.glob(os.path.join(msw.dllDir, "wx*%s*.dll" % ver))
if options.debug:
dlls += glob.glob(os.path.join(msw.dllDir, "wx*%s*.pdb" % ver))
for dll in dlls:
shutil.copyfile(dll, posixjoin(phoenixDir(), cfg.PKGDIR, os.path.basename(dll)))