Try some backslash escaping

This commit is contained in:
Tomas Groth 2017-09-27 22:26:18 +02:00
parent 1b12ae51e1
commit d13c07c58e
1 changed files with 2 additions and 1 deletions

View File

@ -343,7 +343,8 @@ class WindowsBuilder(Builder):
Return a list of the binaries to include
"""
binaries = []
for binary in glob.glob('C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x86\*.dll'):
# Finds the UCRT DDLs available from the Windows SDK
for binary in glob.glob('C:\\Program Files (x86)\\Windows Kits\\10\\Redist\\ucrt\\DLLs\\x86\\*.dll'):
binaries.append('--add-binary')
binaries.append(binary + ";.")
return binaries