From d13c07c58e30d2cfe4e4955d738535d9bc715909 Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Wed, 27 Sep 2017 22:26:18 +0200 Subject: [PATCH] Try some backslash escaping --- builders/windows-builder.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/builders/windows-builder.py b/builders/windows-builder.py index 7ccd5d4..4b648ba 100644 --- a/builders/windows-builder.py +++ b/builders/windows-builder.py @@ -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